Changeset 62848 in vbox for trunk/src/VBox/Additions/common/crOpenGL
- Timestamp:
- Aug 1, 2016 9:32:03 PM (8 years ago)
- Location:
- trunk/src/VBox/Additions/common/crOpenGL
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/icd_drv.c
r62521 r62848 1 1 /* $Id$ */ 2 3 2 /** @file 4 3 * VBox OpenGL windows ICD driver functions … … 28 27 #endif 29 28 30 #include < windows.h>29 #include <iprt/win/windows.h> 31 30 32 31 //TODO: consider … … 397 396 return 1; 398 397 } 398 -
trunk/src/VBox/Additions/common/crOpenGL/icd_drv.h
r62521 r62848 1 1 /* $Id$ */ 2 3 2 /** @file 4 *5 3 * VirtualBox Windows NT/2000/XP guest OpenGL ICD header 6 4 */ … … 18 16 */ 19 17 20 #ifndef __ ICDDRV_H__21 #define __ ICDDRV_H__18 #ifndef ___ICDDRV_H___ 19 #define ___ICDDRV_H___ 22 20 23 #include < windows.h>21 #include <iprt/win/windows.h> 24 22 25 typedef struct _icdTable23 typedef struct ICDTABLE 26 24 { 27 25 DWORD size; … … 52 50 BOOL APIENTRY DrvSwapBuffers(HDC hdc); 53 51 54 #endif /* __ICDDRV_H__ */52 #endif /* !___ICDDRV_H___ */ -
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu.h
r56008 r62848 162 162 extern void packspuHuge( CROpcode opcode, void *buf ); 163 163 164 extern void packspuInitStrings( );164 extern void packspuInitStrings(void); 165 165 166 extern GLboolean packspuSyncOnFlushes( );166 extern GLboolean packspuSyncOnFlushes(void); 167 167 168 168 extern ThreadInfo *packspuNewThread( -
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_misc.c
r52451 r62848 94 94 } 95 95 96 GLboolean packspuSyncOnFlushes() 97 { 96 GLboolean packspuSyncOnFlushes(void) 97 { 98 #if 1 /*Seems to still cause issues, always sync for now*/ 99 return 1; 100 #else 98 101 GLint buffer; 99 100 /*Seems to still cause issues, always sync for now*/101 return 1;102 102 103 103 crStateGetIntegerv(GL_DRAW_BUFFER, &buffer); … … 110 110 || buffer == GL_LEFT 111 111 || buffer == GL_RIGHT); 112 #endif 112 113 } 113 114 … … 848 849 { 849 850 } 851
Note:
See TracChangeset
for help on using the changeset viewer.