mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 06:50:11 +01:00
glcpp: Remove unused gl_api bits.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
b2d1c579bb
commit
73c3c7e37d
2 changed files with 0 additions and 2 deletions
|
|
@ -30,7 +30,6 @@
|
||||||
|
|
||||||
#include "glcpp.h"
|
#include "glcpp.h"
|
||||||
#include "main/core.h" /* for struct gl_extensions */
|
#include "main/core.h" /* for struct gl_extensions */
|
||||||
#include "main/mtypes.h" /* for gl_api enum */
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
yyerror (YYLTYPE *locp, glcpp_parser_t *parser, const char *error);
|
yyerror (YYLTYPE *locp, glcpp_parser_t *parser, const char *error);
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,6 @@ load_text_file(void *ctx, const char *filename)
|
||||||
static void
|
static void
|
||||||
init_fake_gl_context (struct gl_context *gl_ctx)
|
init_fake_gl_context (struct gl_context *gl_ctx)
|
||||||
{
|
{
|
||||||
gl_ctx->API = API_OPENGL_COMPAT;
|
|
||||||
gl_ctx->Const.DisableGLSLLineContinuations = false;
|
gl_ctx->Const.DisableGLSLLineContinuations = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue