Changeset 43051 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Aug 28, 2012 3:35:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_getshaders.c
r40479 r43051 255 255 GLuint SERVER_DISPATCH_APIENTRY crServerDispatchCreateShader(GLenum type) 256 256 { 257 GLuint retval ;258 retval = cr_server.head_spu->dispatch_table.CreateShader(type);259 crStateCreateShader(retval, type);257 GLuint retval, hwVal; 258 hwVal = cr_server.head_spu->dispatch_table.CreateShader(type); 259 retval = crStateCreateShader(hwVal, type); 260 260 crServerReturnValue(&retval, sizeof(retval)); 261 261 return retval; /* ignored */ … … 264 264 GLuint SERVER_DISPATCH_APIENTRY crServerDispatchCreateProgram(void) 265 265 { 266 GLuint retval ;267 retval = cr_server.head_spu->dispatch_table.CreateProgram();268 crStateCreateProgram(retval);266 GLuint retval, hwVal; 267 hwVal = cr_server.head_spu->dispatch_table.CreateProgram(); 268 retval = crStateCreateProgram(hwVal); 269 269 crServerReturnValue(&retval, sizeof(retval)); 270 270 return retval; /* ignored */
Note:
See TracChangeset
for help on using the changeset viewer.