Changeset 23275 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Sep 24, 2009 9:34:18 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_getshaders.c
r23274 r23275 240 240 GLuint SERVER_DISPATCH_APIENTRY crServerDispatchCreateProgram(void) 241 241 { 242 243 242 GLuint retval; 243 retval = cr_server.head_spu->dispatch_table.CreateProgram(); 244 244 crStateCreateProgram(retval); 245 246 245 crServerReturnValue(&retval, sizeof(retval)); 246 return retval; /* ignored */ 247 247 } 248 248 249 249 GLboolean SERVER_DISPATCH_APIENTRY crServerDispatchIsShader(GLuint shader) 250 250 { 251 252 253 254 251 GLboolean retval; 252 retval = cr_server.head_spu->dispatch_table.IsShader(crStateGetShaderHWID(shader)); 253 crServerReturnValue(&retval, sizeof(retval)); 254 return retval; /* ignored */ 255 255 } 256 256 257 257 GLboolean SERVER_DISPATCH_APIENTRY crServerDispatchIsProgram(GLuint program) 258 258 { 259 260 261 262 259 GLboolean retval; 260 retval = cr_server.head_spu->dispatch_table.IsProgram(crStateGetProgramHWID(program)); 261 crServerReturnValue(&retval, sizeof(retval)); 262 return retval; /* ignored */ 263 263 } 264 264
Note:
See TracChangeset
for help on using the changeset viewer.