mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 22:58:09 +00:00
DIRECTOR: Hid noisy warning
This commit is contained in:
parent
8593a9e1e4
commit
ace0bbdceb
@ -24,6 +24,7 @@
|
|||||||
#include "graphics/macgui/mactext.h"
|
#include "graphics/macgui/mactext.h"
|
||||||
#include "graphics/macgui/macwindowmanager.h"
|
#include "graphics/macgui/macwindowmanager.h"
|
||||||
|
|
||||||
|
#include "director/director.h"
|
||||||
#include "director/cachedmactext.h"
|
#include "director/cachedmactext.h"
|
||||||
#include "director/cast.h"
|
#include "director/cast.h"
|
||||||
|
|
||||||
@ -45,7 +46,7 @@ void CachedMacText::makeMacText() {
|
|||||||
_textCast->_fontSize,
|
_textCast->_fontSize,
|
||||||
_textCast->_textSlant);
|
_textCast->_textSlant);
|
||||||
|
|
||||||
debug(5, "CachedMacText::makeMacText(): font id: %d size: %d slant: %d name: %s '%s'",
|
debugC(5, kDebugText, "CachedMacText::makeMacText(): font id: %d size: %d slant: %d name: %s '%s'",
|
||||||
_textCast->_fontId, _textCast->_fontSize, _textCast->_textSlant, macFont->getName().c_str(),
|
_textCast->_fontId, _textCast->_fontSize, _textCast->_textSlant, macFont->getName().c_str(),
|
||||||
Common::toPrintable(_textCast->_ftext).c_str());
|
Common::toPrintable(_textCast->_ftext).c_str());
|
||||||
|
|
||||||
@ -69,7 +70,7 @@ CachedMacText::CachedMacText(TextCast *const textCast,
|
|||||||
_surface(NULL), _macText(NULL), _width(defaultWidth), _dirty(true),
|
_surface(NULL), _macText(NULL), _width(defaultWidth), _dirty(true),
|
||||||
_textCast(textCast), _wm(wm) {
|
_textCast(textCast), _wm(wm) {
|
||||||
|
|
||||||
debug(5, "CachedMacText::CachedMacText(): font id: %d '%s'", _textCast->_fontId, Common::toPrintable(_textCast->_ftext).c_str());
|
debugC(5, kDebugText, "CachedMacText::CachedMacText(): font id: %d '%s'", _textCast->_fontId, Common::toPrintable(_textCast->_ftext).c_str());
|
||||||
|
|
||||||
if (_width == -1) {
|
if (_width == -1) {
|
||||||
if (version >= 4) {
|
if (version >= 4) {
|
||||||
|
Loading…
Reference in New Issue
Block a user