mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-22 01:07:37 +00:00
gl_load_texture_data - add early return if driver.video is
NULL
This commit is contained in:
parent
539c26c611
commit
d99a224688
@ -28,6 +28,9 @@ void gl_load_texture_data(GLuint id,
|
||||
bool want_mipmap = false;
|
||||
bool rgb32 = (base_size == (sizeof(uint32_t)));
|
||||
|
||||
if (!driver.video)
|
||||
return;
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D, id);
|
||||
|
||||
wrap = driver.video->wrap_type_to_enum(wrap_type);
|
||||
|
Loading…
x
Reference in New Issue
Block a user