mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
mesa: Remove the gl_program::Resident flag.
It apparently was only used for NV programs. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
7742952f7e
commit
9dc2c28983
2 changed files with 0 additions and 2 deletions
|
|
@ -1924,7 +1924,6 @@ struct gl_program
|
|||
GLint RefCount;
|
||||
GLenum Target; /**< GL_VERTEX/FRAGMENT_PROGRAM_ARB, GL_FRAGMENT_PROGRAM_NV */
|
||||
GLenum Format; /**< String encoding format */
|
||||
GLboolean Resident;
|
||||
|
||||
struct prog_instruction *Instructions;
|
||||
|
||||
|
|
|
|||
|
|
@ -238,7 +238,6 @@ _mesa_init_program_struct( struct gl_context *ctx, struct gl_program *prog,
|
|||
memset(prog, 0, sizeof(*prog));
|
||||
prog->Id = id;
|
||||
prog->Target = target;
|
||||
prog->Resident = GL_TRUE;
|
||||
prog->RefCount = 1;
|
||||
prog->Format = GL_PROGRAM_FORMAT_ASCII_ARB;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue