summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/version.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-07-07 20:26:33 -0600
committerBrian Paul <[email protected]>2010-07-07 20:26:33 -0600
commit6988f65e43297ae63bbce30bf882f870b370096c (patch)
treed3ed95a656903e818ec78271765b4cdafd2d8e93 /src/mesa/main/version.c
parentd95b40759e82b11bd4b458ec9e44eb6234da1849 (diff)
mesa: initial support for new GL 3.0 texture formats
Diffstat (limited to 'src/mesa/main/version.c')
-rw-r--r--src/mesa/main/version.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index 525d179621b..d833a160e9e 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -91,6 +91,7 @@ compute_version(GLcontext *ctx)
ctx->Extensions.ARB_half_float_pixel &&
ctx->Extensions.ARB_map_buffer_range &&
ctx->Extensions.ARB_texture_float &&
+ ctx->Extensions.ARB_texture_rg &&
ctx->Extensions.APPLE_vertex_array_object &&
ctx->Extensions.EXT_draw_buffers2 &&
ctx->Extensions.EXT_framebuffer_blit &&
@@ -99,10 +100,10 @@ compute_version(GLcontext *ctx)
ctx->Extensions.EXT_framebuffer_sRGB &&
ctx->Extensions.EXT_packed_depth_stencil &&
ctx->Extensions.EXT_packed_float &&
- ctx->Extensions.EXT_shared_exponent &&
ctx->Extensions.EXT_texture_array &&
ctx->Extensions.EXT_texture_compression_rgtc &&
ctx->Extensions.EXT_texture_integer &&
+ ctx->Extensions.EXT_texture_shared_exponent &&
ctx->Extensions.EXT_transform_feedback &&
ctx->Extensions.NV_conditional_render);
const GLboolean ver_3_1 = (ver_3_0 &&