From fd28ec10125a1bb5dbe72c4e16c1fde8a1b4b0ee Mon Sep 17 00:00:00 2001 From: arcum42 Date: Sat, 19 Jun 2010 22:36:20 +0000 Subject: [PATCH] zzogl-pg: Forgot to remove this... git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3246 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/zzogl-pg/opengl/ZZoglFlush.cpp | 5 +---- plugins/zzogl-pg/opengl/targets.h | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/plugins/zzogl-pg/opengl/ZZoglFlush.cpp b/plugins/zzogl-pg/opengl/ZZoglFlush.cpp index 55fd6666c6..8c421cbe1c 100644 --- a/plugins/zzogl-pg/opengl/ZZoglFlush.cpp +++ b/plugins/zzogl-pg/opengl/ZZoglFlush.cpp @@ -63,10 +63,7 @@ bool g_bSaveResolved = 0; void Draw(const VB& curvb) { - if (nullTex) - ZZLog::Debug_Log("DRAW: Drawing arrays without a texture!"); - else - glDrawArrays(primtype[curvb.curprim.prim], 0, curvb.nCount); + glDrawArrays(primtype[curvb.curprim.prim], 0, curvb.nCount); } #define GL_BLEND_RGB(src, dst) { \ diff --git a/plugins/zzogl-pg/opengl/targets.h b/plugins/zzogl-pg/opengl/targets.h index d50b81e1d8..6c28815fe3 100644 --- a/plugins/zzogl-pg/opengl/targets.h +++ b/plugins/zzogl-pg/opengl/targets.h @@ -22,8 +22,6 @@ #define TARGET_VIRTUAL_KEY 0x80000000 #include "PS2Edefs.h" -extern bool nullTex; - inline Vector DefaultOneColor(FRAGMENTSHADER ptr) { Vector v = Vector(1, 1, 1, 1);