summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2012-10-14 15:30:40 -0700
committerKenneth Graunke <kenneth@whitecape.org>2012-10-16 11:24:34 -0700
commit9dc2c28983b68f290558d070806b236c202b3744 (patch)
tree6d97cb9c4a73552f224ed3f86b775f3e52a93da1 /src/mesa
parent7742952f7eaf0af475aeff28a3ec084762d0ed23 (diff)
downloadexternal_mesa3d-9dc2c28983b68f290558d070806b236c202b3744.zip
external_mesa3d-9dc2c28983b68f290558d070806b236c202b3744.tar.gz
external_mesa3d-9dc2c28983b68f290558d070806b236c202b3744.tar.bz2
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>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/mtypes.h1
-rw-r--r--src/mesa/program/program.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 0bbc553..761dc78 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -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;
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c
index c97c696..4c533a9 100644
--- a/src/mesa/program/program.c
+++ b/src/mesa/program/program.c
@@ -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;