EXT(NV_half_float , ARB_half_float_vertex , GLL, x, x , x, 2001)
EXT(NV_image_formats , dummy_true , x , x , x , 31, 2014)
EXT(NV_light_max_exponent , dummy_true , GLL, x , x , x , 1999)
+EXT(NV_pack_subimage , dummy_true , x , x , x , ES2, 2009)
EXT(NV_packed_depth_stencil , dummy_true , GLL, GLC, x , x , 2000)
EXT(NV_pixel_buffer_object , EXT_pixel_buffer_object , x , x , x , ES2, 2012)
EXT(NV_primitive_restart , NV_primitive_restart , GLL, x , x , x , 2002)
ctx->Pack.LsbFirst = param ? GL_TRUE : GL_FALSE;
break;
case GL_PACK_ROW_LENGTH:
- if (!no_error && !_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx))
+ if (!no_error && ctx->API == API_OPENGLES)
goto invalid_enum_error;
if (!no_error && param<0)
goto invalid_value_error;
ctx->Pack.ImageHeight = param;
break;
case GL_PACK_SKIP_PIXELS:
- if (!no_error && !_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx))
+ if (!no_error && ctx->API == API_OPENGLES)
goto invalid_enum_error;
if (!no_error && param<0)
goto invalid_value_error;
ctx->Pack.SkipPixels = param;
break;
case GL_PACK_SKIP_ROWS:
- if (!no_error && !_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx))
+ if (!no_error && ctx->API == API_OPENGLES)
goto invalid_enum_error;
if (!no_error && param<0)
goto invalid_value_error;