forked from enlightenment/efl
When printing this debug message, check for valid extension string get
function First. NB: Fixes Coverity CID1039394 Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
7bf6ba1f67
commit
6229a871de
|
@ -1336,7 +1336,8 @@ evgl_engine_init(void *eng_data, EVGL_Interface *efunc)
|
|||
else
|
||||
ERR("Proc address get function not available. Extension not initialized.");
|
||||
|
||||
DBG("GLUE Extension String: %s", efunc->ext_string_get(eng_data));
|
||||
if (efunc->ext_string_get)
|
||||
DBG("GLUE Extension String: %s", efunc->ext_string_get(eng_data));
|
||||
DBG("GL Extension String: %s", glGetString(GL_EXTENSIONS));
|
||||
|
||||
// Surface Caps
|
||||
|
|
Loading…
Reference in New Issue