Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
6a04c2d5
Commit
6a04c2d5
authored
Jul 15, 2009
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jul 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Don't call glGetError if nobody is listening.
parent
1d265bca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
wined3d_private.h
dlls/wined3d/wined3d_private.h
+13
-11
No files found.
dlls/wined3d/wined3d_private.h
View file @
6a04c2d5
...
@@ -883,17 +883,19 @@ extern int num_lock;
...
@@ -883,17 +883,19 @@ extern int num_lock;
/* Checking of API calls */
/* Checking of API calls */
/* --------------------- */
/* --------------------- */
#ifndef WINE_NO_DEBUG_MSGS
#ifndef WINE_NO_DEBUG_MSGS
#define checkGLcall(A) \
#define checkGLcall(A) \
do { \
do { \
GLint err = glGetError(); \
GLint err; \
if (err == GL_NO_ERROR) { \
if(!__WINE_IS_DEBUG_ON(_FIXME, __wine_dbch___default)) break; \
TRACE("%s call ok %s / %d\n", A, __FILE__, __LINE__); \
err = glGetError(); \
\
if (err == GL_NO_ERROR) { \
} else do { \
TRACE("%s call ok %s / %d\n", A, __FILE__, __LINE__); \
FIXME(">>>>>>>>>>>>>>>>> %s (%#x) from %s @ %s / %d\n", \
\
debug_glerror(err), err, A, __FILE__, __LINE__); \
} else do { \
err = glGetError(); \
FIXME(">>>>>>>>>>>>>>>>> %s (%#x) from %s @ %s / %d\n", \
} while (err != GL_NO_ERROR); \
debug_glerror(err), err, A, __FILE__, __LINE__); \
err = glGetError(); \
} while (err != GL_NO_ERROR); \
} while(0)
} while(0)
#else
#else
#define checkGLcall(A) do {} while(0)
#define checkGLcall(A) do {} while(0)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment