projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.14.tar.gz
[xscreensaver]
/
hacks
/
glx
/
grab-ximage.c
diff --git
a/hacks/glx/grab-ximage.c
b/hacks/glx/grab-ximage.c
index c0b5a2f01082a4c90f6655e6a5fbcb363bede846..99e92317487e25373e5a456a86d94eb356e74a89 100644
(file)
--- a/
hacks/glx/grab-ximage.c
+++ b/
hacks/glx/grab-ximage.c
@@
-100,7
+100,7
@@
bigendian (void)
extra byte set to 0xFF.
*/
XImage *
extra byte set to 0xFF.
*/
XImage *
-screen_to_ximage (Screen *screen, Window window)
+screen_to_ximage (Screen *screen, Window window
, char **filename_return
)
{
Display *dpy = DisplayOfScreen (screen);
Pixmap pixmap = 0;
{
Display *dpy = DisplayOfScreen (screen);
Pixmap pixmap = 0;
@@
-113,7
+113,7
@@
screen_to_ximage (Screen *screen, Window window)
win_height = xgwa.height;
pixmap = XCreatePixmap(dpy, window, xgwa.width, xgwa.height, xgwa.depth);
win_height = xgwa.height;
pixmap = XCreatePixmap(dpy, window, xgwa.width, xgwa.height, xgwa.depth);
- load_random_image (screen, window, pixmap);
+ load_random_image (screen, window, pixmap
, filename_return
);
/* GL texture sizes must be powers of two. */
tex_width = to_pow2(win_width);
/* GL texture sizes must be powers of two. */
tex_width = to_pow2(win_width);