Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xserver
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexander Volkov
xserver
Commits
a01f17d6
Commit
a01f17d6
authored
Apr 03, 2006
by
Adam Jackson
💣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Coverity #983: Move some risky debugging code inside #ifdef DEBUG.
parent
c03cfca3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
ChangeLog
ChangeLog
+6
-0
hw/xfree86/dri/dri.c
hw/xfree86/dri/dri.c
+0
-2
No files found.
ChangeLog
View file @
a01f17d6
2006-04-02 Adam Jackson <ajax@freedesktop.org>
* hw/xfree86/dri/dri.c:
Coverity #983: Move some risky debugging code inside #ifdef
DEBUG.
2006-04-02 Adam Jackson <ajax@freedesktop.org>
* GL/glx/glxcmds.c:
...
...
hw/xfree86/dri/dri.c
View file @
a01f17d6
...
...
@@ -1427,7 +1427,6 @@ DRISwapContext(int drmFD, void *oldctx, void *newctx)
DRISyncType
syncType
;
#ifdef DEBUG
static
int
count
=
0
;
#endif
if
(
!
newContext
)
{
DRIDrvMsg
(
pScreen
->
myNum
,
X_ERROR
,
...
...
@@ -1436,7 +1435,6 @@ DRISwapContext(int drmFD, void *oldctx, void *newctx)
return
;
}
#ifdef DEBUG
/* usefull for debugging, just print out after n context switches */
if
(
!
count
||
!
(
count
%
1
))
{
DRIDrvMsg
(
pScreen
->
myNum
,
X_INFO
,
...
...
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