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
d10f869d
Commit
d10f869d
authored
Sep 16, 2010
by
daniel@transgaming.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed masked glClear
TRAC #13577 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id:
https://angleproject.googlecode.com/svn/trunk@426
736b8ea6-26fd-11df-bfd4-992fa37f6226
parent
7beea408
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
Context.cpp
src/libGLESv2/Context.cpp
+2
-0
No files found.
src/libGLESv2/Context.cpp
View file @
d10f869d
...
...
@@ -2481,6 +2481,7 @@ void Context::clear(GLbitfield mask)
device
->
SetVertexShader
(
NULL
);
device
->
SetFVF
(
D3DFVF_XYZRHW
|
D3DFVF_DIFFUSE
);
device
->
SetStreamSourceFreq
(
0
,
1
);
device
->
SetTextureStageState
(
0
,
D3DTSS_COLOROP
,
D3DTOP_DISABLE
);
hr
=
device
->
EndStateBlock
(
&
mMaskedClearSavedState
);
ASSERT
(
SUCCEEDED
(
hr
)
||
hr
==
D3DERR_OUTOFVIDEOMEMORY
||
hr
==
E_OUTOFMEMORY
);
...
...
@@ -2536,6 +2537,7 @@ void Context::clear(GLbitfield mask)
device
->
SetVertexShader
(
NULL
);
device
->
SetFVF
(
D3DFVF_XYZRHW
|
D3DFVF_DIFFUSE
);
device
->
SetStreamSourceFreq
(
0
,
1
);
device
->
SetTextureStageState
(
0
,
D3DTSS_COLOROP
,
D3DTOP_DISABLE
);
struct
Vertex
{
...
...
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