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
6fc8c9b9
Commit
6fc8c9b9
authored
Jul 12, 2017
by
Geoff Lang
Committed by
Gerrit Code Review
Jul 12, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Validate that the mip level is not too large for CopyTextureCHROMIUM."
parents
9dd5dbd8
3847f94d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
validationES2.cpp
src/libANGLE/validationES2.cpp
+2
-2
No files found.
src/libANGLE/validationES2.cpp
View file @
6fc8c9b9
...
...
@@ -342,7 +342,7 @@ bool IsValidCopyTextureSourceTarget(Context *context, GLenum target)
bool
IsValidCopyTextureSourceLevel
(
Context
*
context
,
GLenum
target
,
GLint
level
)
{
if
(
level
<
0
)
if
(
!
ValidMipLevel
(
context
,
target
,
level
)
)
{
return
false
;
}
...
...
@@ -361,7 +361,7 @@ bool IsValidCopyTextureDestinationLevel(Context *context,
GLsizei
width
,
GLsizei
height
)
{
if
(
level
<
0
)
if
(
!
ValidMipLevel
(
context
,
target
,
level
)
)
{
return
false
;
}
...
...
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