Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
353b35e8
Commit
353b35e8
authored
Jul 19, 2011
by
Joel Martin
Committed by
Christian Beier
Jul 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tightPng: check even for SendGradientRect.
Signed-off-by:
Christian Beier
<
dontmind@freeshell.org
>
parent
896ca203
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
tight.c
libvncserver/tight.c
+6
-0
No files found.
libvncserver/tight.c
View file @
353b35e8
...
@@ -958,6 +958,12 @@ SendGradientRect(rfbClientPtr cl,
...
@@ -958,6 +958,12 @@ SendGradientRect(rfbClientPtr cl,
int
streamId
=
3
;
int
streamId
=
3
;
int
len
;
int
len
;
#ifdef LIBVNCSERVER_HAVE_LIBPNG
if
(
CanSendPngRect
(
cl
,
w
,
h
))
{
return
SendPngRect
(
cl
,
x
,
y
,
w
,
h
);
}
#endif
if
(
cl
->
format
.
bitsPerPixel
==
8
)
if
(
cl
->
format
.
bitsPerPixel
==
8
)
return
SendFullColorRect
(
cl
,
x
,
y
,
w
,
h
);
return
SendFullColorRect
(
cl
,
x
,
y
,
w
,
h
);
...
...
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