aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/gl_marshal.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/glapi/gen/gl_marshal.py')
-rw-r--r--src/mapi/glapi/gen/gl_marshal.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mapi/glapi/gen/gl_marshal.py b/src/mapi/glapi/gen/gl_marshal.py
index a50d773e27e..165275904ff 100644
--- a/src/mapi/glapi/gen/gl_marshal.py
+++ b/src/mapi/glapi/gen/gl_marshal.py
@@ -252,10 +252,6 @@ class PrintCode(gl_XML.gl_print_base):
self.print_sync_dispatch(func)
out('}')
- if func.marshal == 'draw':
- out('/* We relied on all vertex and index data being in VBOs */')
- out('assert(ctx->API == API_OPENGL_CORE);')
-
out('}')
def print_async_body(self, func):