Merge pull request #3694 from techtonik/patch-1
Show driver information in verbose mode
This commit is contained in:
commit
c9a401e541
|
@ -10780,9 +10780,16 @@ bool RasterizerGLES2::_test_depth_shadow_buffer() {
|
|||
|
||||
void RasterizerGLES2::init() {
|
||||
|
||||
if (OS::get_singleton()->is_stdout_verbose()) {
|
||||
print_line("Using GLES2 video driver");
|
||||
}
|
||||
|
||||
#ifdef GLEW_ENABLED
|
||||
GLuint res = glewInit();
|
||||
ERR_FAIL_COND(res!=GLEW_OK);
|
||||
if (OS::get_singleton()->is_stdout_verbose()) {
|
||||
print_line(String("GLES2: Using GLEW ") + (const char*) glewGetString(GLEW_VERSION));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue