From 95b0d3e082215325b07d92daabaa0b2f4d53ecfc Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 30 Mar 2003 19:36:57 +0000 Subject: [PATCH] add an assert --- stepmania/src/RageBitmapTexture.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/RageBitmapTexture.cpp b/stepmania/src/RageBitmapTexture.cpp index 929153e186..031cf9439d 100644 --- a/stepmania/src/RageBitmapTexture.cpp +++ b/stepmania/src/RageBitmapTexture.cpp @@ -300,7 +300,8 @@ void RageBitmapTexture::Create() if(!m_uGLTextureID) glGenTextures(1, &m_uGLTextureID); - + ASSERT(m_uGLTextureID); + DISPLAY->SetTexture(this); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);