We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 932 - D3D renderer can not draw a filled rectangle
Summary: D3D renderer can not draw a filled rectangle
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86_64 Windows (All)
: P2 minor
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-17 03:37 UTC by Erik Snoek
Modified: 2010-01-17 22:34 UTC (History)
0 users

See Also:


Attachments
Patch file to fix the problem (560 bytes, patch)
2010-01-17 10:37 UTC, Erik Snoek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Snoek 2010-01-17 03:37:40 UTC
SDL_d3drender.c is missing the following line in the D3D_CreateRenderer method:

renderer->RenderFillRects = D3D_RenderFillRects;
Comment 1 Erik Snoek 2010-01-17 10:37:18 UTC
Created attachment 480 [details]
Patch file to fix the problem
Comment 2 Sam Lantinga 2010-01-17 22:34:25 UTC
This is fixed in subversion, thanks!