Carna
Version 3.0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
Carna
base
glew.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2010 - 2015 Leonid Kostrykin
3
*
4
* Chair of Medical Engineering (mediTEC)
5
* RWTH Aachen University
6
* Pauwelsstr. 20
7
* 52074 Aachen
8
* Germany
9
*
10
*/
11
12
#ifndef GLEW_H_6014714286
13
#define GLEW_H_6014714286
14
23
#include <
Carna/base/Log.h
>
24
25
#ifdef _WIN32
26
# include <windows.h>
27
#endif
28
29
#include <GL/glew.h>
30
31
32
33
// ----------------------------------------------------------------------------------
34
// CARNA_GLEW_INIT
35
// ----------------------------------------------------------------------------------
36
41
#define CARNA_GLEW_INIT \
42
{ \
43
const GLenum glew_state = glewInit(); \
44
CARNA_ASSERT( glew_state == GLEW_OK ); \
45
Carna::base::Log::instance().record( Carna::base::Log::debug, "GLEW initialized successfully." ); \
46
}
47
48
49
50
#endif // GLEW_H_6014714286
Log.h
Defines Carna::base::Log.
Written by
Leonid Kostrykin
at the Chair of Medical Engineering (mediTEC), RWTH Aachen University
Documentation generated by
Doxygen