From 21f8543c40ecb2552fcc19ed08250076209c849e Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Fri, 6 Jul 2001 22:35:29 +0000 Subject: [PATCH] fix tex coordinate bug --- panda/src/glgsg/glGraphicsStateGuardian.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/glgsg/glGraphicsStateGuardian.cxx b/panda/src/glgsg/glGraphicsStateGuardian.cxx index 51fbea80c5..63a782d5a7 100644 --- a/panda/src/glgsg/glGraphicsStateGuardian.cxx +++ b/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