Merge pull request #111301 from stuartcarnie/macos_disable_opengl
macOS: Move includes inside `#ifdef` so OpenGL can be disabled
This commit is contained in:
@ -30,11 +30,11 @@
|
|||||||
|
|
||||||
#import "embedded_gl_manager.h"
|
#import "embedded_gl_manager.h"
|
||||||
|
|
||||||
|
#if defined(MACOS_ENABLED) && defined(GLES3_ENABLED)
|
||||||
|
|
||||||
#import "drivers/gles3/storage/texture_storage.h"
|
#import "drivers/gles3/storage/texture_storage.h"
|
||||||
#import "platform_gl.h"
|
#import "platform_gl.h"
|
||||||
|
|
||||||
#if defined(MACOS_ENABLED) && defined(GLES3_ENABLED)
|
|
||||||
|
|
||||||
#import <QuartzCore/QuartzCore.h>
|
#import <QuartzCore/QuartzCore.h>
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user