mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-27 10:20:20 +00:00
Fixed dyu's fix (we do need the window title in Osd Regression with GLFW 3.0)
This commit is contained in:
parent
5ec2320d9a
commit
fbcb02d39e
@ -747,6 +747,7 @@ main(int argc, char ** argv) {
|
|||||||
int width=10, height=10;
|
int width=10, height=10;
|
||||||
|
|
||||||
#if GLFW_VERSION_MAJOR>=3
|
#if GLFW_VERSION_MAJOR>=3
|
||||||
|
static const char windowTitle[] = "OpenSubdiv OSD regression";
|
||||||
if (not (g_window=glfwCreateWindow(width, height, windowTitle, NULL, NULL))) {
|
if (not (g_window=glfwCreateWindow(width, height, windowTitle, NULL, NULL))) {
|
||||||
printf("Failed to open window.\n");
|
printf("Failed to open window.\n");
|
||||||
glfwTerminate();
|
glfwTerminate();
|
||||||
|
Loading…
Reference in New Issue
Block a user