Changeset 37392 in vbox for trunk/src/VBox/GuestHost/OpenGL/error/error.py
- Timestamp:
- Jun 9, 2011 1:46:15 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72186
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/error/error.py
r15532 r37392 33 33 print '\nstatic %s ERROR_APIENTRY error%s( %s )' % (return_type, func_name, apiutil.MakeDeclarationString(params )) 34 34 print '{' 35 print '\tcrError( "ERROR SPU: Unsupported function gl%s called!" );' % func_name36 35 # Handle the void parameter list 37 36 for (name, type, vecSize) in params: 38 37 print '\tERROR_UNUSED(%s);' % name 39 38 print '\tcrError( "ERROR SPU: Unsupported function gl%s called!" );' % func_name 40 39 if return_type != "void": 41 40 print '\treturn (%s)0;' % return_type
Note:
See TracChangeset
for help on using the changeset viewer.