diff options
author | Simon Rettberg | 2019-07-30 16:03:58 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-07-30 16:03:58 +0200 |
commit | 6a32252403781b303d4ebd195932ce39c5b1c08e (patch) | |
tree | cd2f8b3c4052c1b575caf33c9983ae531fad9092 /hacks/glx/boxed.c | |
parent | Remove android and OSX files (diff) | |
download | xscreensaver-6a32252403781b303d4ebd195932ce39c5b1c08e.tar.gz xscreensaver-6a32252403781b303d4ebd195932ce39c5b1c08e.tar.xz xscreensaver-6a32252403781b303d4ebd195932ce39c5b1c08e.zip |
Update to 5.43
Diffstat (limited to 'hacks/glx/boxed.c')
-rw-r--r-- | hacks/glx/boxed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hacks/glx/boxed.c b/hacks/glx/boxed.c index 6ce82bb..7d1b5d0 100644 --- a/hacks/glx/boxed.c +++ b/hacks/glx/boxed.c @@ -1248,7 +1248,7 @@ pinit(ModeInfo * mi) gp->tic = gp->camtic = rnd() * 100.0f; /* define tex1 (bottom plate) */ - gp->tex1 = (char *)malloc(3*width*height*sizeof(GLuint)); + gp->tex1 = (char *)malloc(3*width*height*sizeof(*gp->tex1)); texpixels = 256*256; /*width*height;*/ texpixeldata = header_data; texpixeltarget = gp->tex1; |