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
7cb3958f
Commit
7cb3958f
authored
Dec 09, 2003
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compilation with Mac OSX: preprocessor can't do recursive macros
parent
b7643ac9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
hextile.c
libvncclient/hextile.c
+9
-2
No files found.
libvncclient/hextile.c
View file @
7cb3958f
...
...
@@ -28,7 +28,6 @@
#define HandleHextileBPP CONCAT2E(HandleHextile,BPP)
#define CARDBPP CONCAT3E(uint,BPP,_t)
#define GET_PIXEL CONCAT2E(GET_PIXEL,BPP)
static
rfbBool
HandleHextileBPP
(
rfbClient
*
client
,
int
rx
,
int
ry
,
int
rw
,
int
rh
)
...
...
@@ -85,7 +84,15 @@ HandleHextileBPP (rfbClient* client, int rx, int ry, int rw, int rh)
return
FALSE
;
for
(
i
=
0
;
i
<
nSubrects
;
i
++
)
{
GET_PIXEL
(
fg
,
ptr
);
#if BPP==8
GET_PIXEL8
(
fg
,
ptr
);
#elif BPP==16
GET_PIXEL16
(
fg
,
ptr
);
#elif BPP==32
GET_PIXEL32
(
fg
,
ptr
);
#else
#error "Invalid BPP"
#endif
sx
=
rfbHextileExtractX
(
*
ptr
);
sy
=
rfbHextileExtractY
(
*
ptr
);
ptr
++
;
...
...
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