Skip to content

Commit

Permalink
SDL3/SDL_CreateWindow: Updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
sechshelme authored and SDLWikiBot committed Apr 23, 2024
1 parent 19669bf commit 1a28593
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SDL3/SDL_CreateWindow.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ This function is available since SDL 3.0.0.
```c++
// Example program:
// Using SDL2 to create an application window
// Using SDL3 to create an application window
#include <SDL3/SDL.h>
#include <stdio.h>
Expand All @@ -105,7 +105,7 @@ int main(int argc, char* argv[]) {
// Create an application window with the following settings:
window = SDL_CreateWindow(
"An SDL2 window", // window title
"An SDL3 window", // window title
640, // width, in pixels
480, // height, in pixels
SDL_WINDOW_OPENGL // flags - see below
Expand Down

0 comments on commit 1a28593

Please sign in to comment.