Fixed small bug in glFVarViewer for Loop.

- Make sure to pass in the LOOP define to the shader when dealing with
Loop surfaces.
This commit is contained in:
George ElKoura 2015-08-24 13:29:52 -07:00
parent 404659fffa
commit effe6a2ed6
2 changed files with 9 additions and 0 deletions

View File

@ -31,6 +31,12 @@
----
Release 3.0.3
=============
**Bug Fixes**
- Fixed bug in display of Loop surfaces in glFVarViewer.
Release 3.0.2
=============

View File

@ -501,6 +501,9 @@ public:
if (type == Far::PatchDescriptor::QUADS) {
ss << "#define PRIM_QUAD\n";
} else if (type == Far::PatchDescriptor::TRIANGLES) {
ss << "#define PRIM_TRI\n";
ss << "#define LOOP\n";
} else {
ss << "#define PRIM_TRI\n";
}