Changeset 38989 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Oct 13, 2011 3:44:08 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 74387
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_context.c
r37946 r38989 103 103 break; 104 104 } 105 } 106 } 107 108 { 109 /* As we're using only one host context to serve all client contexts, newly created context will still 110 * hold last error value from any previous failed opengl call. Proper solution would be to redirect any 111 * client glGetError calls to our state tracker, but right now it's missing quite a lot of checks and doesn't 112 * reflect host driver/gpu specific issues. Thus we just reset last opengl error at context creation. 113 */ 114 GLint err; 115 116 err = cr_server.head_spu->dispatch_table.GetError(); 117 if (err!=GL_NO_ERROR) 118 { 119 crWarning("Cleared gl error %#x on context creation", err); 105 120 } 106 121 }
Note:
See TracChangeset
for help on using the changeset viewer.