fix screen width/height issue on Intel/Linux

add command-line option to set png_skip_frames when taking screenshot series
This commit is contained in:
Erwin Coumans (Google)
2016-07-26 15:36:21 -07:00
parent 8270096fad
commit 98c6181ba8
4 changed files with 29 additions and 22 deletions

View File

@@ -516,6 +516,9 @@ void X11OpenGLWindow::createWindow(const b3gWindowConstructionInfo& ci)
m_data->m_dpy = MyXOpenDisplay(NULL);
m_data->m_glWidth = ci.m_width;
m_data->m_glHeight = ci.m_height;
if(m_data->m_dpy == NULL) {
printf("\n\tcannot connect to X server\n\n");
exit(0);