Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
glesgsg
config_glesgsg.cxx
1
// Filename: config_glesgsg.cxx
2
// Created by: pro-rsoft (21May09)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
#include "config_glesgsg.h"
16
#include "glesgsg.h"
17
18
#include "dconfig.h"
19
20
ConfigureDef(config_glesgsg);
21
NotifyCategoryDef(glesgsg,
":display:gsg"
);
22
23
ConfigureFn(config_glesgsg) {
24
init_libglesgsg();
25
}
26
27
////////////////////////////////////////////////////////////////////
28
// Function: init_libglesgsg
29
// Description: Initializes the library. This must be called at
30
// least once before any of the functions or classes in
31
// this library can be used. Normally it will be
32
// called by the static initializers and need not be
33
// called explicitly, but special cases exist.
34
////////////////////////////////////////////////////////////////////
35
void
36
init_libglesgsg() {
37
static
bool
initialized =
false
;
38
if
(initialized) {
39
return
;
40
}
41
initialized =
true
;
42
43
GLESinit_classes();
44
}
Generated on Mon Feb 1 2016 13:44:25 for Panda3D by
1.8.5