// -*- c++ -*- #pragma once #ifndef __RAYS_SRC_OPENGL_H__ #define __RAYS_SRC_OPENGL_H__ #if defined(OSX) #include #include #elif defined(IOS) #include #include #elif defined(WIN32) #include #include #endif #include "rays/opengl.h" namespace Rays { void OpenGL_set_context (Context context); Context OpenGL_get_context (); bool OpenGL_has_error (); void OpenGL_check_error (const char* file, int line); void OpenGL_check_error (const char* file, int line, const char* format, ...); }// Rays #endif//EOH