Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
acgl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ACGL
acgl
Commits
74ec0c55
Commit
74ec0c55
authored
11 years ago
by
Martin Schultz
Browse files
Options
Downloads
Patches
Plain Diff
* fixed missing APIENTRY prefixes for windows MSVC
parent
b8ab7bc8
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/ACGL/OpenGL/Debug.hh
+1
-1
1 addition, 1 deletion
include/ACGL/OpenGL/Debug.hh
src/ACGL/OpenGL/Debug.cc
+1
-1
1 addition, 1 deletion
src/ACGL/OpenGL/Debug.cc
src/ACGL/OpenGL/glloaders/KHR_debug_emulator.cc
+1
-1
1 addition, 1 deletion
src/ACGL/OpenGL/glloaders/KHR_debug_emulator.cc
with
3 additions
and
3 deletions
include/ACGL/OpenGL/Debug.hh
+
1
−
1
View file @
74ec0c55
...
...
@@ -26,7 +26,7 @@ const char *debugSeverityName( GLenum _type );
void
ACGLRegisterDefaultDebugCallback
();
//! default debug callback
void
ACGL_KHR_default_debug_callback
(
GLenum
_source
,
GLenum
_type
,
GLuint
_id
,
GLenum
_severity
,
GLsizei
_length
,
const
GLchar
*
_message
,
const
void
*
_userParam
);
void
APIENTRY
ACGL_KHR_default_debug_callback
(
GLenum
_source
,
GLenum
_type
,
GLuint
_id
,
GLenum
_severity
,
GLsizei
_length
,
const
GLchar
*
_message
,
const
void
*
_userParam
);
}
// OpenGL
}
// ACGL
...
...
This diff is collapsed.
Click to expand it.
src/ACGL/OpenGL/Debug.cc
+
1
−
1
View file @
74ec0c55
...
...
@@ -65,7 +65,7 @@ void ACGLRegisterDefaultDebugCallback()
}
//! place a brakepoint in here to find the source of a problem!
void
ACGL_KHR_default_debug_callback
(
GLenum
_source
,
GLenum
_type
,
GLuint
_id
,
GLenum
_severity
,
GLsizei
_length
,
const
GLchar
*
_message
,
const
void
*
_userParam
)
void
APIENTRY
ACGL_KHR_default_debug_callback
(
GLenum
_source
,
GLenum
_type
,
GLuint
_id
,
GLenum
_severity
,
GLsizei
_length
,
const
GLchar
*
_message
,
const
void
*
_userParam
)
{
ostream
&
stream
=
(
_type
==
GL_DEBUG_TYPE_ERROR
)
?
static_cast
<
ostream
&>
(
error
())
:
static_cast
<
ostream
&>
(
debug
());
...
...
This diff is collapsed.
Click to expand it.
src/ACGL/OpenGL/glloaders/KHR_debug_emulator.cc
+
1
−
1
View file @
74ec0c55
...
...
@@ -598,7 +598,7 @@ void APIENTRY KHR_DEBUG_EMULATOR_CHECK_GL_ERROR();
// glGetError
// needs to return the last error even if this KHR_debug emulator already got the error code
//
GLenum
KHR_DEBUG_EMULATOR_GetError
()
{
GLenum
APIENTRY
KHR_DEBUG_EMULATOR_GetError
()
{
// if there was an error, report it. if not report the last global error
// which might got set by the automatic error checks
GLenum
currentError
=
_original_glGetError
();
...
...
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