Mondschein Engine
0.3.0
Main Page
Namespaces
Classes
Files
File List
src
qt4
context.cpp
1
/* Mondschein Engine is a fast, powerful, and easy-to-use 3D realtime rendering engine.
2
*
3
* Copyright (C) 2009-2013 by Andreas Amereller
4
* E-Mail: andreas.amereller.dev@googlemail.com
5
*
6
* This program is free software; you can redistribute it and/or modify it
7
* under the terms of the GNU General Public License as published by the Free
8
* Software Foundation; either version 3 of the License, or (at your option)
9
* any later version.
10
*
11
* This program is distributed in the hope that it will be useful, but WITHOUT
12
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14
* more details.
15
*
16
* You should have received a copy of the GNU General Public License along
17
* with this program; if not, write to the Free Software Foundation, Inc.,
18
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
*/
20
21
#include "
qt4/context.h
"
22
#include <QtOpenGL/QGLFormat>
23
24
using namespace
mondschein;
25
using namespace
renderer;
26
27
Qt4_Context::Qt4_Context() :
Context
(), QGLContext(QGLFormat())
28
{
29
return
;
30
}
31
32
Qt4_Context::Qt4_Context(
const
context_attribs_t
&_c,
const
QGLFormat &_f) :
Context
(_c), QGLContext(_f)
33
{
34
return
;
35
}
36
37
Qt4_Context::~Qt4_Context()
38
{
39
return
;
40
}
41
42
void
Qt4_Context::init
()
43
{
44
create();
45
return
;
46
}
Generated on Thu Apr 11 2013 21:37:16 for Mondschein Engine by
1.8.3.1