Include glad/gl.h before everything else when running clang-format
parent
8c618f89f0
commit
bcb05e5eea
|
@ -1,7 +1,11 @@
|
|||
// clang-format off
|
||||
// glad must be included before any other OpenGL libraries
|
||||
#include <glad/gl.h>
|
||||
// clang-format on
|
||||
|
||||
#include <GLFW/glfw3.h>
|
||||
#include <GLFW/glfw3native.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <glad/gl.h>
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue