projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
omx: add a compute path in enc_LoadImage_common
[mesa.git]
/
src
/
mesa
/
main
/
formatquery.c
diff --git
a/src/mesa/main/formatquery.c
b/src/mesa/main/formatquery.c
index 84b5f512ba524cb28f28867aad09498548e3ccea..3b0f6dafad7644835eae42fb6778b8bfba10635a 100644
(file)
--- a/
src/mesa/main/formatquery.c
+++ b/
src/mesa/main/formatquery.c
@@
-1241,7
+1241,7
@@
_mesa_GetInternalformativ(GLenum target, GLenum internalformat, GLenum pname,
break;
case GL_SRGB_WRITE:
- if (!
_mesa_has_EXT_framebuffer_sRGB(ctx)
||
+ if (!
ctx->Extensions.EXT_sRGB
||
!_mesa_is_color_format(internalformat)) {
goto end;
}