projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a568a9
)
Fix NV_vertex_program detection logic.
author
José Fonseca
<jfonseca@vmware.com>
Wed, 29 Jun 2011 16:41:02 +0000
(17:41 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 29 Jun 2011 16:41:02 +0000
(17:41 +0100)
gltrace.py
patch
|
blob
|
history
diff --git
a/gltrace.py
b/gltrace.py
index
4280b91
..
8c29a7b
100644
(file)
--- a/
gltrace.py
+++ b/
gltrace.py
@@
-121,7
+121,7
@@
class GlTracer(Tracer):
print '};'
print
print 'static vertex_attrib __get_vertex_attrib(void) {'
- print ' if (__user_arrays_arb) {'
+ print ' if (__user_arrays_arb
|| __user_arrays_nv
) {'
print ' GLboolean __vertex_program = GL_FALSE;'
print ' __glGetBooleanv(GL_VERTEX_PROGRAM_ARB, &__vertex_program);'
print ' if (__vertex_program) {'