mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 18:00:10 +01:00
st/mesa: remove st_is_program_native
The default scenario sets GL_TRUE too. Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
parent
7046c588eb
commit
a3e9a5f9f8
1 changed files with 0 additions and 13 deletions
|
|
@ -204,18 +204,6 @@ st_delete_program(struct gl_context *ctx, struct gl_program *prog)
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Called via ctx->Driver.IsProgramNative()
|
||||
*/
|
||||
static GLboolean
|
||||
st_is_program_native(struct gl_context *ctx,
|
||||
GLenum target,
|
||||
struct gl_program *prog)
|
||||
{
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Called via ctx->Driver.ProgramStringNotify()
|
||||
* Called when the program's text/code is changed. We have to free
|
||||
|
|
@ -303,7 +291,6 @@ st_init_program_functions(struct dd_function_table *functions)
|
|||
functions->UseProgram = st_use_program;
|
||||
functions->NewProgram = st_new_program;
|
||||
functions->DeleteProgram = st_delete_program;
|
||||
functions->IsProgramNative = st_is_program_native;
|
||||
functions->ProgramStringNotify = st_program_string_notify;
|
||||
|
||||
functions->LinkShader = st_link_shader;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue