mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-22 23:40:23 +01:00
mesa: Remove FEATURE_ARB_shading_language_120 macro.
Everything should be able to support 1.20 at this point.
This commit is contained in:
parent
a75da2c0e8
commit
b970da4d24
2 changed files with 0 additions and 5 deletions
|
|
@ -592,11 +592,7 @@ _mesa_init_constants(struct gl_context *ctx)
|
|||
|
||||
/* Shading language version */
|
||||
if (ctx->API == API_OPENGL) {
|
||||
#if FEATURE_ARB_shading_language_120
|
||||
ctx->Const.GLSLVersion = 120;
|
||||
#else
|
||||
ctx->Const.GLSLVersion = 110;
|
||||
#endif
|
||||
}
|
||||
else if (ctx->API == API_OPENGLES2) {
|
||||
ctx->Const.GLSLVersion = 100;
|
||||
|
|
|
|||
|
|
@ -119,7 +119,6 @@
|
|||
#define FEATURE_ARB_fragment_shader 1
|
||||
#define FEATURE_ARB_shader_objects (FEATURE_ARB_vertex_shader || FEATURE_ARB_fragment_shader)
|
||||
#define FEATURE_ARB_shading_language_100 FEATURE_ARB_shader_objects
|
||||
#define FEATURE_ARB_shading_language_120 FEATURE_ARB_shader_objects
|
||||
#define FEATURE_ARB_geometry_shader4 FEATURE_ARB_shader_objects
|
||||
|
||||
#define FEATURE_ARB_framebuffer_object (FEATURE_GL && FEATURE_EXT_framebuffer_object)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue