Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 28177 Details for
Bug 45845
gemsvnc runforever and bpp patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
bpp.patch
bpp.patch (text/plain), 1.07 KB, created by
Frieder Bürzele
on 2004-03-27 15:20:36 UTC
(
hide
)
Description:
bpp.patch
Filename:
MIME Type:
Creator:
Frieder Bürzele
Created:
2004-03-27 15:20:36 UTC
Size:
1.07 KB
patch
obsolete
>--- gemsvnc.orig 2004-03-26 19:16:41.000000000 +0100 >+++ gemsvnc.c 2004-03-27 00:08:32.906057432 +0100 >@@ -1486,7 +1486,19 @@ > xscreen = DefaultScreen(dpy); /* default screen of selected DISPLAY */ > window = RootWindow(dpy, xscreen); /* root window of that screen */ > depth = DefaultDepth(dpy, xscreen); /* depth in bits per pixel */ >- depth = 32; /* FIXME crocked for debug */ >+ if (depth == 32) /* patch-begin (by evrmd)*/ >+ { /* workaround to work with x-server */ >+ depth = 32; /* running less than 24bpp */ >+ } >+ else if (depth == 24) >+ { >+ depth=32; >+ } >+ else >+ { >+ } >+ { >+ } /* patch-end (by evrmd)*/ > bpp = depth/8; /* bytes per pixel */ > fb_high = DisplayHeight(dpy, xscreen); /* how many pixels high is the framebuffer */ > fb_wide = DisplayWidth(dpy, xscreen); /* how many pixels wide is the framebuffer */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 45845
:
28120
|
28176
| 28177