From: Kenneth Graunke Date: Sun, 14 Oct 2012 22:30:40 +0000 (-0700) Subject: mesa: Remove the gl_program::Resident flag. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9dc2c28983b68f290558d070806b236c202b3744;p=mesa.git mesa: Remove the gl_program::Resident flag. It apparently was only used for NV programs. Reviewed-by: Brian Paul Reviewed-by: Eric Anholt --- diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 0bbc5536f11..761dc7837d6 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 c97c696691e..4c533a9035d 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;