Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
angle
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
angle
Commits
d21656c1
Commit
d21656c1
authored
Aug 02, 2013
by
Geoff Lang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed uninitialized local variable warning.
TRAC #23619 Signed-off-by: Shannon Woods Author: Geoff Lang
parent
57e713e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Fence.cpp
src/libGLESv2/Fence.cpp
+2
-2
No files found.
src/libGLESv2/Fence.cpp
View file @
d21656c1
...
@@ -102,7 +102,7 @@ FenceSync::FenceSync(rx::Renderer *renderer, GLuint id)
...
@@ -102,7 +102,7 @@ FenceSync::FenceSync(rx::Renderer *renderer, GLuint id)
{
{
mFence
=
renderer
->
createFence
();
mFence
=
renderer
->
createFence
();
LARGE_INTEGER
counterFreqency
;
LARGE_INTEGER
counterFreqency
=
{
0
}
;
ASSERT
(
QueryPerformanceFrequency
(
&
counterFreqency
));
ASSERT
(
QueryPerformanceFrequency
(
&
counterFreqency
));
mCounterFrequency
=
counterFreqency
.
QuadPart
;
mCounterFrequency
=
counterFreqency
.
QuadPart
;
...
@@ -140,7 +140,7 @@ GLenum FenceSync::clientWait(GLbitfield flags, GLuint64 timeout)
...
@@ -140,7 +140,7 @@ GLenum FenceSync::clientWait(GLbitfield flags, GLuint64 timeout)
return
GL_TIMEOUT_EXPIRED
;
return
GL_TIMEOUT_EXPIRED
;
}
}
LARGE_INTEGER
currentCounter
;
LARGE_INTEGER
currentCounter
=
{
0
}
;
ASSERT
(
QueryPerformanceCounter
(
&
currentCounter
));
ASSERT
(
QueryPerformanceCounter
(
&
currentCounter
));
LONGLONG
timeoutInSeconds
=
static_cast
<
LONGLONG
>
(
timeout
)
*
static_cast
<
LONGLONG
>
(
1000000ll
);
LONGLONG
timeoutInSeconds
=
static_cast
<
LONGLONG
>
(
timeout
)
*
static_cast
<
LONGLONG
>
(
1000000ll
);
...
...
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