OpenGLTexture *OpenGLTexture::scratch_binding = 0;
-OpenGLTexture::OpenGLTexture(unsigned t, bool create):
+OpenGLTexture::OpenGLTexture(unsigned t):
id(0),
target(t)
{
- if(create)
- generate_id();
-
static bool alignment_init = false;
if(!alignment_init)
{