summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/windows/gdi/wmesadef.h
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2005-12-15 01:02:37 +0000
committerKarl Schultz <kschultz@freedesktop.org>2005-12-15 01:02:37 +0000
commit841c9018b140f3271dd1f6e29d9ca4f391823a22 (patch)
tree1f7959f5da73205b02ee008241ca5a04cba12e47 /src/mesa/drivers/windows/gdi/wmesadef.h
parentb6d7a0c5a56d8a861225ea6dd58b0096ca440328 (diff)
Work In Progress. Move some of the frame buffer, render buffer, etc init code from the create context path to the make current path, where it is lazily initialized. This didn't buy me very much except to make it look closer to the X11 driver. Fix up some of this same code to correct some errors.
The next step is to reorganize the wmesa context data structure to inherit the gl_context by containment so I can have access to the wmesa context in the update state path. The driver is still currently not responding to changes in the Draw and Read Buffer state.
Diffstat (limited to 'src/mesa/drivers/windows/gdi/wmesadef.h')
-rw-r--r--src/mesa/drivers/windows/gdi/wmesadef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/windows/gdi/wmesadef.h b/src/mesa/drivers/windows/gdi/wmesadef.h
index a9d0a447de..8b2f4912d6 100644
--- a/src/mesa/drivers/windows/gdi/wmesadef.h
+++ b/src/mesa/drivers/windows/gdi/wmesadef.h
@@ -19,7 +19,9 @@ typedef struct wmesa_context{
GLuint width;
GLuint height;
GLuint ScanWidth;
+ GLboolean rgb_flag;
GLboolean db_flag;
+ GLboolean alpha_flag;
WMDIBSECTION dib;
BITMAPINFO bmi;
HBITMAP hbmDIB;