Fixed dyu's fix (we do need the window title in Osd Regression with GLFW 3.0)

This commit is contained in:
manuelk 2013-05-07 14:25:37 -07:00
parent 5ec2320d9a
commit fbcb02d39e

View File

@ -747,6 +747,7 @@ main(int argc, char ** argv) {
int width=10, height=10;
#if GLFW_VERSION_MAJOR>=3
static const char windowTitle[] = "OpenSubdiv OSD regression";
if (not (g_window=glfwCreateWindow(width, height, windowTitle, NULL, NULL))) {
printf("Failed to open window.\n");
glfwTerminate();