src/opengl.h in rays-0.2 vs src/opengl.h in rays-0.2.1
- old
+ new
@@ -13,25 +13,25 @@
#elif defined(WIN32)
#include <GL/gl.h>
#include <GL/glext.h>
#endif
-#include "rays/opengl.h"
+#include "rays/defs.h"
namespace Rays
{
- void OpenGL_set_context (Context context);
+ void OpenGL_init ();
- Context OpenGL_get_context ();
+ void OpenGL_fin ();
- bool OpenGL_has_error ();
+ bool OpenGL_has_error ();
- void OpenGL_check_error (const char* file, int line);
+ void OpenGL_check_error (const char* file, int line);
- void OpenGL_check_error (const char* file, int line, const char* format, ...);
+ void OpenGL_check_error (const char* file, int line, const char* format, ...);
}// Rays