mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-15 08:50:28 +01:00
vertex/fragment program field changes
This commit is contained in:
parent
d6aff512fe
commit
4b4632f94c
2 changed files with 2 additions and 3 deletions
|
|
@ -166,8 +166,7 @@ GLboolean i915CreateContext( const __GLcontextModes *mesaVis,
|
|||
I915_MAX_TEX_INSN);
|
||||
ctx->Const.FragmentProgram.MaxNativeTexIndirections = I915_MAX_TEX_INDIRECT;
|
||||
ctx->Const.FragmentProgram.MaxNativeAddressRegs = 0; /* I don't think we have one */
|
||||
ctx->_MaintainTexEnvProgram = 1;
|
||||
ctx->_UseTexEnvProgram = 1;
|
||||
ctx->_MaintainTexEnvProgram = GL_TRUE;
|
||||
|
||||
|
||||
driInitExtensions( ctx, i915_extensions, GL_FALSE );
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ static void i915_render_start( intelContextPtr intel )
|
|||
GLcontext *ctx = &intel->ctx;
|
||||
i915ContextPtr i915 = I915_CONTEXT(intel);
|
||||
|
||||
if (ctx->FragmentProgram._Active)
|
||||
if (ctx->FragmentProgram._Current)
|
||||
i915ValidateFragmentProgram( i915 );
|
||||
else {
|
||||
assert(!ctx->_MaintainTexEnvProgram);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue