Changeset 24188 in vbox
- Timestamp:
- Oct 30, 2009 1:11:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGLSupportInfo.cpp
r23746 r24188 97 97 #endif 98 98 99 #define VBOXVHWA_GETPROCADDRESS(_c, _t, _n) ((_t)( _c).getProcAddress(QString(_n)))99 #define VBOXVHWA_GETPROCADDRESS(_c, _t, _n) ((_t)(uintptr_t)(_c).getProcAddress(QString(_n))) 100 100 101 101 #define VBOXVHWA_PFNINIT_SAME(_c, _t, _v, _rc) \ … … 103 103 if((vboxgl##_v = VBOXVHWA_GETPROCADDRESS(_c, _t, "gl"#_v)) == NULL) \ 104 104 { \ 105 VBOXQGLLOG(("ERROR: '%s' function isnot found\n", "gl"#_v));\105 VBOXQGLLOG(("ERROR: '%s' function not found\n", "gl"#_v));\ 106 106 AssertBreakpoint(); \ 107 107 if((vboxgl##_v = VBOXVHWA_GETPROCADDRESS(_c, _t, "gl"#_v"ARB")) == NULL) \ 108 108 { \ 109 VBOXQGLLOG(("ERROR: '%s' function isnot found\n", "gl"#_v"ARB"));\109 VBOXQGLLOG(("ERROR: '%s' function not found\n", "gl"#_v"ARB"));\ 110 110 AssertBreakpoint(); \ 111 111 if((vboxgl##_v = VBOXVHWA_GETPROCADDRESS(_c, _t, "gl"#_v"EXT")) == NULL) \ 112 112 { \ 113 VBOXQGLLOG(("ERROR: '%s' function isnot found\n", "gl"#_v"EXT"));\113 VBOXQGLLOG(("ERROR: '%s' function not found\n", "gl"#_v"EXT"));\ 114 114 AssertBreakpoint(); \ 115 115 (_rc)++; \
Note:
See TracChangeset
for help on using the changeset viewer.