diff options
| author | 2015-08-30 03:37:42 -0300 | |
|---|---|---|
| committer | 2015-08-30 08:45:56 -0300 | |
| commit | a1a5570e9735cb3ead0149b26d00eb4d6ade744f (patch) | |
| tree | a044f6116c24f0618f34c73154cd8c86e89711c7 /src/citra/emu_window/emu_window_glfw.cpp | |
| parent | Merge pull request #1049 from Subv/stencil (diff) | |
| download | yuzu-a1a5570e9735cb3ead0149b26d00eb4d6ade744f.tar.gz yuzu-a1a5570e9735cb3ead0149b26d00eb4d6ade744f.tar.xz yuzu-a1a5570e9735cb3ead0149b26d00eb4d6ade744f.zip | |
Replace the previous OpenGL loader with a glad-generated 3.3 one
The main advantage of switching to glad from glLoadGen is that, apart
from being actively maintained, it supports a customizable entrypoint
loader function, which makes it possible to also support OpenGL ES.
Diffstat (limited to 'src/citra/emu_window/emu_window_glfw.cpp')
| -rw-r--r-- | src/citra/emu_window/emu_window_glfw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra/emu_window/emu_window_glfw.cpp b/src/citra/emu_window/emu_window_glfw.cpp index 6d6656b5a..096efc4a2 100644 --- a/src/citra/emu_window/emu_window_glfw.cpp +++ b/src/citra/emu_window/emu_window_glfw.cpp | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | #include <string> | 7 | #include <string> |
| 8 | 8 | ||
| 9 | // Let’s use our own GL header, instead of one from GLFW. | 9 | // Let’s use our own GL header, instead of one from GLFW. |
| 10 | #include "video_core/renderer_opengl/generated/gl_3_2_core.h" | 10 | #include <glad/glad.h> |
| 11 | #define GLFW_INCLUDE_NONE | 11 | #define GLFW_INCLUDE_NONE |
| 12 | #include <GLFW/glfw3.h> | 12 | #include <GLFW/glfw3.h> |
| 13 | 13 | ||