opengles emulator: GLES2 translator / codec

fix glGetAttachedShaders
NULL is allowed in count parameter
fix problem with nvidia driver which returned invalid count

Change-Id: Icfaa5688b04325de2890486eb87b163babaddf30
This commit is contained in:
Liran
2011-08-07 15:18:38 +03:00
committed by David 'Digit' Turner
parent 0fd3ee21c8
commit 50c0fb0eff
2 changed files with 4 additions and 1 deletions

View File

@@ -104,6 +104,7 @@ glGetAttachedShaders
len shaders (maxcount*sizeof(GLuint))
dir shaders out
dir count out
var_flag count nullAllowed
len count (sizeof(GLsizei))
#int glGetAttribLocation(GLuint program, GLchar *name)