diff options
author | Erik Faye-Lund <[email protected]> | 2018-12-03 20:00:34 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2018-12-04 21:14:16 +0100 |
commit | 5bf38bfb64791e2021c813d069b995ed62ff7d09 (patch) | |
tree | 90cd8e3cff9dd8e8a03328133b970a67b4050c52 /src/mesa/main/api_arrayelt.h | |
parent | 4b218984d862f860e0a3b8d1bc3c3235f46871fe (diff) |
mesa/main: correct validation for GL_RGB565
Technically speaking, this validation was incorrect, because GL_RGB565
is only supported in OpenGL ES 1.x if OES_framebuffer_object is
supported. This couldn't lead to any real incorrect behavior, because
all drivers support OES_framebuffer_object. But let's keep the code
self-documenting, by correcting the check as per the spec.
Signed-off-by: Erik Faye-Lund <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/main/api_arrayelt.h')
0 files changed, 0 insertions, 0 deletions