mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 16:44:11 +00:00
Renamed GLFW_WINDOW to GLFW_WINDOWED.
This commit is contained in:
+1
-1
@@ -576,7 +576,7 @@ int main( void )
|
||||
|
||||
glfwOpenWindowHint(GLFW_DEPTH_BITS, 16);
|
||||
|
||||
GLFWwindow window = glfwOpenWindow( 400, 400, GLFW_WINDOW );
|
||||
GLFWwindow window = glfwOpenWindow( 400, 400, GLFW_WINDOWED );
|
||||
if (!window)
|
||||
{
|
||||
fprintf( stderr, "Failed to open GLFW window\n" );
|
||||
|
||||
+1
-1
@@ -331,7 +331,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
glfwOpenWindowHint(GLFW_DEPTH_BITS, 16);
|
||||
|
||||
window = glfwOpenWindow( 300, 300, GLFW_WINDOW );
|
||||
window = glfwOpenWindow( 300, 300, GLFW_WINDOWED );
|
||||
if (!window)
|
||||
{
|
||||
fprintf( stderr, "Failed to open GLFW window\n" );
|
||||
|
||||
@@ -460,7 +460,7 @@ int main( void )
|
||||
glfwOpenWindowHint(GLFW_DEPTH_BITS, 16);
|
||||
|
||||
// Open OpenGL window
|
||||
window = glfwOpenWindow( 500, 500, GLFW_WINDOW );
|
||||
window = glfwOpenWindow( 500, 500, GLFW_WINDOWED );
|
||||
if (!window)
|
||||
{
|
||||
fprintf( stderr, "Failed to open GLFW window\n" );
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ int main( void )
|
||||
}
|
||||
|
||||
// Open a window and create its OpenGL context
|
||||
window = glfwOpenWindow( 640, 480, GLFW_WINDOW );
|
||||
window = glfwOpenWindow( 640, 480, GLFW_WINDOWED );
|
||||
if (!window)
|
||||
{
|
||||
fprintf( stderr, "Failed to open GLFW window\n" );
|
||||
|
||||
+1
-1
@@ -332,7 +332,7 @@ int main(int argc, char* argv[])
|
||||
/* Desired window properties */
|
||||
width = 640;
|
||||
height = 480;
|
||||
mode = GLFW_WINDOW;
|
||||
mode = GLFW_WINDOWED;
|
||||
|
||||
glfwOpenWindowHint(GLFW_DEPTH_BITS, 16);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user