mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
signal NEW_TEXTURING if there's a Driver.BindTexture() function
This commit is contained in:
parent
6cdf09749c
commit
9a4a958a5c
1 changed files with 3 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: texobj.c,v 1.27 2000/09/12 21:07:41 brianp Exp $ */
|
||||
/* $Id: texobj.c,v 1.28 2000/10/24 01:13:58 brianp Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
|
|
@ -591,6 +591,8 @@ _mesa_BindTexture( GLenum target, GLuint texName )
|
|||
/* Pass BindTexture call to device driver */
|
||||
if (ctx->Driver.BindTexture) {
|
||||
(*ctx->Driver.BindTexture)( ctx, target, newTexObj );
|
||||
/* Make sure the Driver.UpdateState() function gets called! */
|
||||
ctx->NewState |= NEW_TEXTURING;
|
||||
}
|
||||
|
||||
if (oldTexObj->Name > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue