Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Macros | Functions
InexorRenderHandler.cpp File Reference
#include <locale.h>
#include <memory>
#include <vector>
#include "SDL_opengl.h"
#include "include/base/cef_ref_counted.h"
#include "include/cef_browser.h"
#include "include/cef_task.h"
#include "inexor/util/InexorException.hpp"
#include "inexor/io/Logging.hpp"
#include "inexor/ui/InexorRenderHandler.hpp"

Namespaces

 inexor
 Show stacktrace on unix, do not include directly.
 
 inexor::ui
 

Macros

#define VERIFY_NO_ERROR
 

Functions

 IEXCEPTION (GLException,"OpenGL related functionality failed")
 Exception that should be thrown if GL related functionality failed. More...
 

Macro Definition Documentation

#define VERIFY_NO_ERROR
Value:
{ \
int _gl_error = glGetError(); \
DCHECK(_gl_error == GL_NO_ERROR) << \
"glGetError returned " << _gl_error; \
}

Referenced by inexor::ui::InexorRenderHandler::Initialize(), and inexor::ui::InexorRenderHandler::OnPaint().

Function Documentation

IEXCEPTION ( GLException  ,
"OpenGL related functionality failed"   
)

Exception that should be thrown if GL related functionality failed.