diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2002-03-16 00:53:15 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2002-03-16 00:53:15 +0000 |
commit | 18a285a5e244b7405b85feb7315a30d99920ec5d (patch) | |
tree | 02fbfa95292ef56eef26bb2e8456f65cf1348f18 /src/mesa/main/mtypes.h | |
parent | 8d687e7e58a148f3f16573636023e54755372010 (diff) | |
download | external_mesa3d-18a285a5e244b7405b85feb7315a30d99920ec5d.zip external_mesa3d-18a285a5e244b7405b85feb7315a30d99920ec5d.tar.gz external_mesa3d-18a285a5e244b7405b85feb7315a30d99920ec5d.tar.bz2 |
Lots of changes related to framebuffer/window buffer resizing. Basically,
instead of passing a GLcontext* to ResizeBuffers(), pass a GLframebuffer*.
The idea is that a window can be resized without it being bound to a rendering
context. This makes for a nice clean-up in the XFree86 server-side GLX code.
Renamed ctx->Driver.ResizeBuffersMESA() to ctx->Driver.ResizeBuffers().
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r-- | src/mesa/main/mtypes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index efa26af..807a7b2 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1,4 +1,4 @@ -/* $Id: mtypes.h,v 1.66 2002/03/13 04:33:16 brianp Exp $ */ +/* $Id: mtypes.h,v 1.67 2002/03/16 00:53:15 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1312,7 +1312,7 @@ struct gl_shared_state { struct gl_frame_buffer { GLvisual Visual; /* The corresponding visual */ - GLint Width, Height; /* size of frame buffer in pixels */ + GLuint Width, Height; /* size of frame buffer in pixels */ GLboolean UseSoftwareDepthBuffer; GLboolean UseSoftwareAccumBuffer; |