Sha256: 400c6452476936dbd5815ee613fa635b3a76d37aa1d313da61e9256f39cb2334

Contents?: true

Size: 569 Bytes

Versions: 5

Compression:

Stored size: 569 Bytes

Contents

// -*- c++ -*-
#pragma once
#ifndef __RAYS_SRC_OPENGL_H__
#define __RAYS_SRC_OPENGL_H__


#if defined(OSX)
	#include <OpenGL/gl.h>
	#include <OpenGL/glext.h>
#elif defined(IOS)
	#include <OpenGLES/ES3/gl.h>
	#include <OpenGLES/ES3/glext.h>
#elif defined(WIN32)
	#include <GL/glew.h>
#endif

#include "rays/defs.h"


namespace Rays
{


	void OpenGL_init ();

	void OpenGL_fin ();

	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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rays-0.3.4 src/opengl.h
rays-0.3.3 src/opengl.h
rays-0.3.2 src/opengl.h
rays-0.3.1 src/opengl.h
rays-0.3 src/opengl.h