Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Project_Phoenix
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LuFG VR VIS
VR-Group
Project_Phoenix
Commits
c4b3781e
Commit
c4b3781e
authored
6 years ago
by
Till Petersen-Krauß
Browse files
Options
Downloads
Patches
Plain Diff
Removed OpenGL debugging
parent
8b394f3b
No related branches found
No related tags found
2 merge requests
!163
Feature/#459 default primitives
,
!162
Feature/#459 default primitives
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
demos/combustion_demo/src/combustion_demo.cpp
+0
-11
0 additions, 11 deletions
demos/combustion_demo/src/combustion_demo.cpp
with
0 additions
and
11 deletions
demos/combustion_demo/src/combustion_demo.cpp
+
0
−
11
View file @
c4b3781e
...
@@ -48,15 +48,6 @@
...
@@ -48,15 +48,6 @@
#pragma clang diagnostic ignored "-Wmissing-prototypes"
#pragma clang diagnostic ignored "-Wmissing-prototypes"
#endif
#endif
void
MessageCallback
(
GLenum
,
GLenum
type
,
GLuint
,
GLenum
severity
,
GLsizei
,
const
GLchar
*
message
,
const
void
*
)
{
if
(
type
==
0x8251
)
return
;
// Do not print buffer info
fprintf
(
stderr
,
"GL CALLBACK: %s type = 0x%x, severity = 0x%x, message = %s
\n
"
,
(
type
==
GL_DEBUG_TYPE_ERROR
?
"** GL ERROR **"
:
""
),
type
,
severity
,
message
);
}
int
main
(
int
,
char
**
)
{
int
main
(
int
,
char
**
)
{
std
::
unique_ptr
<
phx
::
Engine
>
engine
=
phx
::
Setup
::
CreateDefaultEngine
(
true
);
std
::
unique_ptr
<
phx
::
Engine
>
engine
=
phx
::
Setup
::
CreateDefaultEngine
(
true
);
auto
scene
=
engine
->
GetScene
();
auto
scene
=
engine
->
GetScene
();
...
@@ -65,8 +56,6 @@ int main(int, char**) {
...
@@ -65,8 +56,6 @@ int main(int, char**) {
auto
openvr_system
=
engine
->
GetSystem
<
phx
::
DisplaySystemOpenVR
>
();
auto
openvr_system
=
engine
->
GetSystem
<
phx
::
DisplaySystemOpenVR
>
();
auto
device_system
=
engine
->
GetSystem
<
phx
::
DeviceSystem
>
();
auto
device_system
=
engine
->
GetSystem
<
phx
::
DeviceSystem
>
();
glEnable
(
GL_DEBUG_OUTPUT
);
glDebugMessageCallback
((
GLDEBUGPROC
)
MessageCallback
,
0
);
phx
::
SplashScreen
*
splash
=
engine
->
CreateSystem
<
phx
::
SplashScreen
>
(
phx
::
SplashScreen
*
splash
=
engine
->
CreateSystem
<
phx
::
SplashScreen
>
(
engine
->
GetSystem
<
phx
::
DisplaySystemWindow
>
()
->
GetWindow
());
engine
->
GetSystem
<
phx
::
DisplaySystemWindow
>
()
->
GetWindow
());
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment