Skip to content
This repository has been archived by the owner on Dec 2, 2019. It is now read-only.

Update main.c #924

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion demo/sdl_opengl3/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ int main(void)
SDL_GetWindowSize(win, &win_width, &win_height);

/* OpenGL setup */
glViewport(0, 0, WINDOW_WIDTH, WINDOW_HEIGHT);
glewExperimental = 1;
if (glewInit() != GLEW_OK) {
fprintf(stderr, "Failed to setup GLEW\n");
exit(1);
}
glViewport(0, 0, WINDOW_WIDTH, WINDOW_HEIGHT);

ctx = nk_sdl_init(win);
/* Load Fonts: if none of these are loaded a default font will be used */
Expand Down