projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cdf097
)
signal NEW_TEXTURING if there's a Driver.BindTexture() function
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 24 Oct 2000 01:13:58 +0000
(
01:13
+0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 24 Oct 2000 01:13:58 +0000
(
01:13
+0000)
src/mesa/main/texobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texobj.c
b/src/mesa/main/texobj.c
index a9248a78f40f69c3dc4b98e191617b2b97a6760a..5a9b4a1c86c66f88ec464ebedc67d316d631fe54 100644
(file)
--- a/
src/mesa/main/texobj.c
+++ b/
src/mesa/main/texobj.c
@@
-1,4
+1,4
@@
-/* $Id: texobj.c,v 1.2
7 2000/09/12 21:07:41
brianp Exp $ */
+/* $Id: texobj.c,v 1.2
8 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) {