Commit:     8f69e7317a853aadcf55e42dc5402f9274ab7867

Trac URL:   
http://developer.wz2100.net/changeset/8f69e7317a853aadcf55e42dc5402f9274ab7867

Author:     safety0ff <[email protected]>
Date:       Sun Oct 17 15:16:02 2010 -0400

Disable texturing before rendering rectangles.

 lib/ivis_opengl/pieblitfunc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/ivis_opengl/pieblitfunc.c b/lib/ivis_opengl/pieblitfunc.c
index c9f0930..b0cf397 100644
--- a/lib/ivis_opengl/pieblitfunc.c
+++ b/lib/ivis_opengl/pieblitfunc.c
@@ -80,6 +80,7 @@ void pie_Line(int x0, int y0, int x1, int y1, PIELIGHT colour)
  */
 static void pie_DrawRect(float x0, float y0, float x1, float y1, PIELIGHT 
colour)
 {
+       pie_SetTexturePage(TEXPAGE_NONE);
        pie_SetAlphaTest(false);
 
        glColor4ubv(colour.vector);


-------------------------


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits

Reply via email to