Browse Source

fix tex coordinate bug

cxgeorge 24 years ago
parent
commit
21f8543c40
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/glgsg/glGraphicsStateGuardian.cxx

+ 1 - 1
panda/src/glgsg/glGraphicsStateGuardian.cxx

@@ -127,7 +127,7 @@ static void
 issue_texcoord_gl(const Geom *geom, Geom::TexCoordIterator &tciterator) {
   const TexCoordf &texcoord = geom->get_next_texcoord(tciterator);
   //  glgsg_cat.debug() << "Issuing texcoord " << texcoord << "\n";
-  glTexCoord3fv(texcoord.get_data());
+  glTexCoord2fv(texcoord.get_data());
 }
 
 static void