projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5069bfe
)
gallium: adjust gdi for the latest changes
author
Zack Rusin
<zackr@vmware.com>
Tue, 3 Feb 2009 04:54:28 +0000
(23:54 -0500)
committer
Zack Rusin
<zackr@vmware.com>
Tue, 3 Feb 2009 04:54:28 +0000
(23:54 -0500)
src/gallium/winsys/gdi/gdi_softpipe_winsys.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/gdi/gdi_softpipe_winsys.c
b/src/gallium/winsys/gdi/gdi_softpipe_winsys.c
index 2136cd5f83ed81c4261e58b34fd82ba46d1747d8..4924dbf26ac37e92e84426c185961a26cf8753bf 100644
(file)
--- a/
src/gallium/winsys/gdi/gdi_softpipe_winsys.c
+++ b/
src/gallium/winsys/gdi/gdi_softpipe_winsys.c
@@
-45,6
+45,7
@@
#include "util/u_math.h"
#include "util/u_memory.h"
#include "softpipe/sp_winsys.h"
+#include "softpipe/sp_texture.h"
#include "shared/stw_winsys.h"
@@
-275,7
+276,7
@@
gdi_softpipe_flush_frontbuffer(struct pipe_screen *screen,
struct gdi_softpipe_buffer *buffer;
BITMAPINFO bmi;
- buffer = gdi_softpipe_buffer(s
urface
->buffer);
+ buffer = gdi_softpipe_buffer(s
oftpipe_texture(surface->texture)
->buffer);
memset(&bmi, 0, sizeof(BITMAPINFO));
bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);