mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-28 20:55:19 +00:00
Fixed a crash in the old graphics code from commit #45542
svn-id: r45544
This commit is contained in:
parent
e87808d89b
commit
9e78f4693c
@ -144,13 +144,13 @@ protected:
|
||||
EngineState *_s;
|
||||
SciGuiScreen *_screen;
|
||||
SciGuiPalette *_palette;
|
||||
SciGuiGfx *_gfx;
|
||||
|
||||
private:
|
||||
virtual void initPriorityBands();
|
||||
virtual void animateShowPic();
|
||||
virtual void addToPicSetPicNotValid();
|
||||
|
||||
SciGuiGfx *_gfx;
|
||||
SciGuiWindowMgr *_windowMgr;
|
||||
SciGuiAnimate *_animate;
|
||||
SciGuiControls *_controls;
|
||||
|
@ -40,6 +40,7 @@
|
||||
#include "sci/gui32/gui32.h"
|
||||
#include "sci/gui/gui_animate.h"
|
||||
#include "sci/gui/gui_cursor.h"
|
||||
#include "sci/gui/gui_gfx.h"
|
||||
|
||||
// This is the real width of a text with a specified width of 0
|
||||
#define MAX_TEXT_WIDTH_MAGIC_VALUE 192
|
||||
@ -380,6 +381,7 @@ SciGui32::SciGui32( EngineState *state, SciGuiScreen *screen, SciGuiPalette *pal
|
||||
_screen = screen;
|
||||
_palette = palette;
|
||||
_cursor = cursor;
|
||||
_gfx = new SciGuiGfx(_s, _screen, _palette);
|
||||
}
|
||||
|
||||
SciGui32::~SciGui32() {
|
||||
|
Loading…
Reference in New Issue
Block a user