Archived
1
Fork 0
This repository has been archived on 2025-04-09. You can view files and clone it, but cannot push or open issues or pull requests.
libj/J/basic.h
2011-10-21 16:18:56 +02:00

28 lines
566 B
Objective-C

//
// basic.h
// J
//
// Created by Joshua Moerman on 8/28/11.
// Copyright 2011 Vadovas. All rights reserved.
//
/*
This file will be included by all headers that need opengl. It alse defines a useful error checking function.
There may be some notes here and there (especially in the fbo and shader headers) about OpenGL ES2, those notes can be educational ;).
*/
#ifndef J_basic_h
#define J_basic_h
#include <stdexcept>
#include "to_string.h"
#import <OpenGLES/ES2/gl.h>
#import <OpenGLES/ES2/glext.h>
namespace J {
void check_error();
}
#endif