Changeset 3598 for trunk/src/opengl/mesa/wgl.c
- Timestamp:
- May 23, 2000, 10:41:28 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/mesa/wgl.c
r2977 r3598 1 /* $Id: wgl.c,v 1. 3 2000-03-02 23:09:21 sandervlExp $ */1 /* $Id: wgl.c,v 1.4 2000-05-23 20:41:04 jeroen Exp $ */ 2 2 3 3 /* … … 30 30 #endif 31 31 #include <windows.h> 32 #include <winerror.h> 32 33 33 34 #ifdef __cplusplus … … 35 36 #endif 36 37 37 #include <stdio.h> 38 #include <tchar.h> 39 #include "gl.h" 38 #include "glheader.h" 40 39 #include "types.h" 41 40 #include "context.h" … … 396 395 397 396 qt_valid_pix = qt_pix; 398 // if(ppfd->nSize != sizeof(PIXELFORMATDESCRIPTOR) || ppfd->nVersion != 1) 399 if(ppfd->nSize != sizeof(PIXELFORMATDESCRIPTOR)) 397 if(ppfd->nSize != sizeof(PIXELFORMATDESCRIPTOR) || ppfd->nVersion != 1) 400 398 { 401 399 SetLastError(0); … … 507 505 GLAPI BOOL GLWINAPI wglSwapBuffers(HDC hdc) 508 506 { 507 _heap_check(); 508 509 509 if (ctx_current < 0) 510 510 return FALSE;
Note:
See TracChangeset
for help on using the changeset viewer.