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:
@@ -1924,7 +1924,6 @@ struct gl_program
|
|||||||
GLint RefCount;
|
GLint RefCount;
|
||||||
GLenum Target; /**< GL_VERTEX/FRAGMENT_PROGRAM_ARB, GL_FRAGMENT_PROGRAM_NV */
|
GLenum Target; /**< GL_VERTEX/FRAGMENT_PROGRAM_ARB, GL_FRAGMENT_PROGRAM_NV */
|
||||||
GLenum Format; /**< String encoding format */
|
GLenum Format; /**< String encoding format */
|
||||||
GLboolean Resident;
|
|
||||||
|
|
||||||
struct prog_instruction *Instructions;
|
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));
|
memset(prog, 0, sizeof(*prog));
|
||||||
prog->Id = id;
|
prog->Id = id;
|
||||||
prog->Target = target;
|
prog->Target = target;
|
||||||
prog->Resident = GL_TRUE;
|
|
||||||
prog->RefCount = 1;
|
prog->RefCount = 1;
|
||||||
prog->Format = GL_PROGRAM_FORMAT_ASCII_ARB;
|
prog->Format = GL_PROGRAM_FORMAT_ASCII_ARB;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user