Commit aacb8b5f authored by Yann Diorcet's avatar Yann Diorcet
Browse files

reformat and add log in opengles

parent 5ce88630
Copyright (C) 2011 Belledonne Communications, Grenoble, France
......@@ -137,6 +137,7 @@ void ogl_display_free(struct opengles_display* gldisp) {
void ogl_display_set_size(struct opengles_display* gldisp, int width, int height) {
gldisp->backingWidth = width;
gldisp->backingHeight = height;
ms_message("resize opengles_display (%d x %d, gl initialized:%d)", width, height, gldisp->glResourcesInitialized);
GL_OPERATION(glViewport(0, 0, gldisp->backingWidth, gldisp->backingHeight));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment