Added help entries for anim functions. Fixed a compilation warning and a wrong anim button refresh.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1854 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
12
src/pages.c
12
src/pages.c
@@ -682,7 +682,11 @@ void Update_screen_targets(void)
|
||||
/// Update all the special image buffers, if necessary.
|
||||
int Update_buffers(int width, int height)
|
||||
{
|
||||
#ifndef NOLAYERS
|
||||
#ifdef NOLAYERS
|
||||
// unused args
|
||||
(void) width;
|
||||
(void) height;
|
||||
#else
|
||||
// At least one dimension is different
|
||||
if (Main_visible_image.Width*Main_visible_image.Height != width*height)
|
||||
{
|
||||
@@ -724,7 +728,11 @@ int Update_buffers(int width, int height)
|
||||
/// Update all the special image buffers of the spare page, if necessary.
|
||||
int Update_spare_buffers(int width, int height)
|
||||
{
|
||||
#ifndef NOLAYERS
|
||||
#ifdef NOLAYERS
|
||||
// unused args
|
||||
(void) width;
|
||||
(void) height;
|
||||
#else
|
||||
// At least one dimension is different
|
||||
if (Spare_visible_image.Width*Spare_visible_image.Height != width*height)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user