diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/peopsxgl/pgxp_gpu.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/peopsxgl/pgxp_gpu.c b/plugins/peopsxgl/pgxp_gpu.c index 29844d38..02a3fa7b 100644 --- a/plugins/peopsxgl/pgxp_gpu.c +++ b/plugins/peopsxgl/pgxp_gpu.c @@ -660,9 +660,10 @@ void PGXP_colour(OGLVertex* vertex, GLubyte alpha, int prim, int isTextured, int // Vertex colour only
switch (colourMode)
{
- case COLOUR_NONE:
- glColor4ub(255, 255, 255, 255);
- break;
+ // Flat shaded primitives have their colour set earlier so we'll just leave it.
+ //case COLOUR_NONE:
+ // glColor4ub(255, 255, 255, 255);
+ // break;
case COLOUR_FLAT:
glColor4ubv(flatColour);
break;
@@ -762,7 +763,7 @@ int DrawDebugPrim(int prim, OGLVertex* vertex1, OGLVertex* vertex2, OGLVertex* v if (bBlend == GL_TRUE)
- glDisable(GL_BLEND);
+// glDisable(GL_BLEND);
glLineWidth(1.f);
glPolygonMode(GL_FRONT, GL_LINE);
|
