gl_load_texture_data - take out early return
This commit is contained in:
parent
025cb112d3
commit
8bac249bb8
|
@ -28,9 +28,6 @@ void gl_load_texture_data(GLuint id,
|
||||||
bool want_mipmap = false;
|
bool want_mipmap = false;
|
||||||
bool rgb32 = (base_size == (sizeof(uint32_t)));
|
bool rgb32 = (base_size == (sizeof(uint32_t)));
|
||||||
|
|
||||||
if (!driver.video)
|
|
||||||
return;
|
|
||||||
|
|
||||||
glBindTexture(GL_TEXTURE_2D, id);
|
glBindTexture(GL_TEXTURE_2D, id);
|
||||||
|
|
||||||
wrap = gl_wrap_type_to_enum(wrap_type);
|
wrap = gl_wrap_type_to_enum(wrap_type);
|
||||||
|
|
Loading…
Reference in New Issue