summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cubedbusWindow.c.in5
1 files changed, 0 insertions, 5 deletions
diff --git a/cubedbusWindow.c.in b/cubedbusWindow.c.in
index 62b9f6d..d7db8a2 100644
--- a/cubedbusWindow.c.in
+++ b/cubedbusWindow.c.in
@@ -98,11 +98,6 @@ cubedbusDrawWindowObject (CubedbusObject *obj)
glScalef( data->scale[0],data->scale[1], data->scale[2]); /* Rotate, translate and scale */
/*glEnable (data->w->texture->target);*/
- if(data->w==NULL)
- {
- //should delete object
- return TRUE;
- }
enableTexture (obj->s, data->w->texture,
COMP_TEXTURE_FILTER_GOOD);