mirror of
https://github.com/glfw/glfw.git
synced 2024-11-11 13:03:52 +00:00
Replaced inline declarations with glext.h use.
This commit is contained in:
parent
5a112d6cd1
commit
1f622adf0a
@ -30,14 +30,11 @@
|
|||||||
//========================================================================
|
//========================================================================
|
||||||
|
|
||||||
#include <GL/glfw3.h>
|
#include <GL/glfw3.h>
|
||||||
|
#include <GL/glext.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifndef GL_ARB_multisample
|
|
||||||
#define GL_MULTISAMPLE_ARB 0x809D
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static void window_size_callback(GLFWwindow window, int width, int height)
|
static void window_size_callback(GLFWwindow window, int width, int height)
|
||||||
{
|
{
|
||||||
glViewport(0, 0, width, height);
|
glViewport(0, 0, width, height);
|
||||||
|
Loading…
Reference in New Issue
Block a user