diff options
-rw-r--r-- | src/mesa/main/renderbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c index 5046f9d5f42..925001a76a3 100644 --- a/src/mesa/main/renderbuffer.c +++ b/src/mesa/main/renderbuffer.c @@ -66,7 +66,7 @@ _mesa_init_renderbuffer(struct gl_renderbuffer *rb, GLuint name) * specs. If the context is not current, we cannot determine the * API, so default to GL_RGBA. */ - if (ctx && _mesa_is_gles3(ctx)) { + if (ctx && _mesa_is_gles(ctx)) { rb->InternalFormat = GL_RGBA4; } else { rb->InternalFormat = GL_RGBA; |