Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
virgl-es
mesa
Commits
9a563d5e
Commit
9a563d5e
authored
Nov 05, 2007
by
Brian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no-op glCopyPixels if width or height is zero
parent
f4d51d89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/mesa/main/drawpix.c
src/mesa/main/drawpix.c
+1
-1
No files found.
src/mesa/main/drawpix.c
View file @
9a563d5e
...
...
@@ -239,7 +239,7 @@ _mesa_CopyPixels( GLint srcx, GLint srcy, GLsizei width, GLsizei height,
return
;
}
if
(
!
ctx
->
Current
.
RasterPosValid
)
{
if
(
!
ctx
->
Current
.
RasterPosValid
||
width
==
0
||
height
==
0
)
{
return
;
}
...
...
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