summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/windows')
-rw-r--r--src/mesa/drivers/windows/gdi/wmesa.c6
-rw-r--r--src/mesa/drivers/windows/gldirect/dglcontext.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/drivers/windows/gdi/wmesa.c b/src/mesa/drivers/windows/gdi/wmesa.c
index 22b0c46..1a71ef4 100644
--- a/src/mesa/drivers/windows/gdi/wmesa.c
+++ b/src/mesa/drivers/windows/gdi/wmesa.c
@@ -30,7 +30,7 @@ static WMesaFramebuffer FirstFramebuffer = NULL;
* given HDC (Window handle).
*/
WMesaFramebuffer
-wmesa_new_framebuffer(HDC hdc, GLvisual *visual)
+wmesa_new_framebuffer(HDC hdc, struct gl_config *visual)
{
WMesaFramebuffer pwfb
= (WMesaFramebuffer) malloc(sizeof(struct wmesa_framebuffer));
@@ -1404,7 +1404,7 @@ WMesaContext WMesaCreateContext(HDC hDC,
struct dd_function_table functions;
GLint red_bits, green_bits, blue_bits, alpha_bits;
GLcontext *ctx;
- GLvisual *visual;
+ struct gl_config *visual;
(void) Pal;
@@ -1586,7 +1586,7 @@ void WMesaMakeCurrent(WMesaContext c, HDC hdc)
/* Lazy creation of framebuffers */
if (c && !pwfb && hdc) {
struct gl_renderbuffer *rb;
- GLvisual *visual = &c->gl_ctx.Visual;
+ struct gl_config *visual = &c->gl_ctx.Visual;
GLuint width, height;
get_window_size(hdc, &width, &height);
diff --git a/src/mesa/drivers/windows/gldirect/dglcontext.h b/src/mesa/drivers/windows/gldirect/dglcontext.h
index 5c433b8..c92169b 100644
--- a/src/mesa/drivers/windows/gldirect/dglcontext.h
+++ b/src/mesa/drivers/windows/gldirect/dglcontext.h
@@ -88,7 +88,7 @@ typedef struct {
// Mesa vars:
GLcontext *glCtx; // The core Mesa context
- GLvisual *glVis; // Describes the color buffer
+ struct gl_config *glVis; // Describes the color buffer
GLframebuffer *glBuffer; // Ancillary buffers
GLuint ClearIndex;
@@ -136,7 +136,7 @@ typedef struct {
// Mesa context vars:
//
GLcontext *glCtx; // The core Mesa context
- GLvisual *glVis; // Describes the color buffer
+ struct gl_config *glVis; // Describes the color buffer
GLframebuffer *glBuffer; // Ancillary buffers
GLuint ClearIndex;