mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-11 11:25:23 +00:00
adding warning about TracyOpenGL usage on Apple devices
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
#ifndef __TRACYOPENGL_HPP__
|
||||
#define __TRACYOPENGL_HPP__
|
||||
|
||||
#if !defined TRACY_ENABLE || defined __APPLE__
|
||||
#ifdef __APPLE__
|
||||
#define TRACY_OPENGL_DISABLE
|
||||
#warning "OpenGL support on Apple devices is deprecated or unavailable."
|
||||
#endif
|
||||
|
||||
#if !defined TRACY_ENABLE || defined TRACY_OPENGL_DISABLE
|
||||
|
||||
#define TracyGpuContext
|
||||
#define TracyGpuContextName(x,y)
|
||||
|
||||
Reference in New Issue
Block a user