- Timestamp:
- Jul 5, 2007 11:51:47 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/include/VBox/HostServices/VBoxOGLOp.h (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/VBoxOGLOp.h
r3431 r3453 228 228 /* Note: sync operations always set the last error */ 229 229 /* sync operation that returns a value */ 230 #define VBOX_OGL_GEN_SYNC_OP_RET(rettype, op) \ 231 VBOX_OGL_GEN_OP(op) \ 232 rettype retval = (rettype)VBoxOGLFlush(); 233 230 234 #define VBOX_OGL_GEN_SYNC_OP1_RET(rettype, op, p1) \ 231 235 VBOX_OGL_GEN_OP1(op, p1) \ … … 744 748 /* Note: sync operations always set the last error */ 745 749 /* sync operation that returns a value */ 750 #define VBOX_OGL_GEN_SYNC_OP_RET(rettype, op) \ 751 OGL_CMD(op, 0); \ 752 pClient->lastretval = gl##op(); 753 746 754 #define VBOX_OGL_GEN_SYNC_OP1_RET(rettype, op, Type1) \ 747 755 OGL_CMD(op, 1); \ … … 1255 1263 VBOX_OGL_OP_GetTexImage, 1256 1264 1265 /* Windows ICD exports */ 1257 1266 VBOX_OGL_OP_DrvReleaseContext, 1258 1267 VBOX_OGL_OP_DrvCreateContext, … … 1270 1279 VBOX_OGL_OP_DrvSetPixelFormat, 1271 1280 VBOX_OGL_OP_DrvSwapBuffers, 1281 1282 /* OpenGL Extensions */ 1283 VBOX_OGL_OP_wglSwapIntervalEXT, 1284 VBOX_OGL_OP_wglGetSwapIntervalEXT, 1272 1285 1273 1286 VBOX_OGL_OP_Last, … … 1535 1548 "glGetTexImage", 1536 1549 1550 /* Windows ICD exports */ 1537 1551 "DrvReleaseContext", 1538 1552 "DrvCreateContext", … … 1550 1564 "DrvSetPixelFormat", 1551 1565 "DrvSwapBuffers", 1566 1567 /* OpenGL Extensions */ 1568 "wglSwapIntervalEXT", 1569 "wglGetSwapIntervalEXT", 1552 1570 }; 1553 1571 #endif … … 1813 1831 vboxglGetTexImage, 1814 1832 1833 /* Windows ICD exports */ 1815 1834 vboxglDrvReleaseContext, 1816 1835 vboxglDrvCreateContext, … … 1828 1847 vboxglDrvSetPixelFormat, 1829 1848 vboxglDrvSwapBuffers, 1849 1850 /* OpenGL Extensions */ 1851 vboxwglSwapIntervalEXT, 1852 vboxwglGetSwapIntervalEXT, 1853 1830 1854 }; 1831 1855 #endif
Note:
See TracChangeset
for help on using the changeset viewer.

