opengles emulator: support NULL as parameter to glTexImage2D (gles1)
This is implemented using the nullAllowed attrib (same as gles2 in gl2.attrib) Change-Id: I6d359a112daa8acf36dfa05403df42e921f3502c
This commit is contained in:
committed by
Yochai Shefi Simchon
parent
7be5b706c6
commit
c99d4a0594
@@ -238,7 +238,8 @@ glTexEnvxv
|
||||
#void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLvoid *pixels)
|
||||
glTexImage2D
|
||||
dir pixels in
|
||||
len pixels (pixels == NULL ? 0 : pixelDataSize(self, width, height, format, type, 1))
|
||||
len pixels pixelDataSize(self, width, height, format, type, 1)
|
||||
var_flag pixels nullAllowed
|
||||
|
||||
#void glTexParameteriv(GLenum target, GLenum pname, GLint *params)
|
||||
glTexParameteriv
|
||||
|
||||
Reference in New Issue
Block a user