Ver código fonte

mesa: allow GLfixed arrays for OpenGL ES 2.0

Signed-off-by: Brian Paul <brianp@vmware.com>
tags/mesa-7.10
Shuang He 15 anos atrás
pai
commit
9946f15d30
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      src/mesa/main/varray.c

+ 2
- 2
src/mesa/main/varray.c Ver arquivo

@@ -127,8 +127,8 @@ update_array(struct gl_context *ctx,
GLsizei elementSize;
GLenum format = GL_RGBA;

if (ctx->API != API_OPENGLES) {
/* fixed point arrays / data is only allowed with OpenGL ES 1.x */
if (ctx->API != API_OPENGLES && ctx->API != API_OPENGLES2) {
/* fixed point arrays / data is only allowed with OpenGL ES 1.x/2.0 */
legalTypesMask &= ~FIXED_BIT;
}


Carregando…
Cancelar
Salvar