usata-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Usata-commits] Changes to usata2/src/objects/test_object.cpp


From: David Lau
Subject: [Usata-commits] Changes to usata2/src/objects/test_object.cpp
Date: Tue, 25 Jan 2005 03:28:04 -0500

Index: usata2/src/objects/test_object.cpp
diff -u usata2/src/objects/test_object.cpp:1.13 
usata2/src/objects/test_object.cpp:1.14
--- usata2/src/objects/test_object.cpp:1.13     Thu Jan 20 20:20:30 2005
+++ usata2/src/objects/test_object.cpp  Tue Jan 25 08:28:04 2005
@@ -10,7 +10,7 @@
 // included in the software distribution, or visit
 // http://www.fsf.org/licenses/gpl.html.
 //
-// $Id: test_object.cpp,v 1.13 2005/01/20 20:20:30 skunix Exp $
+// $Id: test_object.cpp,v 1.14 2005/01/25 08:28:04 skunix Exp $
 
 #include "../object.hpp"
 #include "../object-registry.hpp"
@@ -58,6 +58,8 @@
        {
                glPushMatrix();
                glEnable(GL_TEXTURE_2D);
+               glBlendFunc(GL_SRC_ALPHA,GL_ONE);
+               glEnable(GL_BLEND);
                glBindTexture(GL_TEXTURE_2D, t->get_tex());
                glTranslatef(0,0,-1.0);
                glRotatef(spin, 0, -1,0);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]