mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Merge pull request #273 from 'paradox/clang'
Conflicts: Sources/Tools/MaxConvert/Pch.h Sources/Tools/MaxConvert/hsControlConverter.cpp
This commit is contained in:
@ -960,7 +960,6 @@ uint16_t plDynSurfaceWriter::CalcStringWidth( const char *text, uint16_t *h
|
||||
IEnsureSurfaceUpdated();
|
||||
|
||||
#if HS_BUILD_FOR_WIN32
|
||||
|
||||
SIZE size;
|
||||
::GetTextExtentPoint32( fRGBSurface.fDC, text, strlen( text ), &size );
|
||||
|
||||
@ -968,6 +967,8 @@ uint16_t plDynSurfaceWriter::CalcStringWidth( const char *text, uint16_t *h
|
||||
*height = (uint16_t)size.cy;
|
||||
|
||||
return (uint16_t)size.cx;
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -60,7 +60,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plPipeline/hsGDeviceRef.h"
|
||||
#include "plProfile.h"
|
||||
#include "plJPEG.h"
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
plProfile_CreateMemCounter("Mipmaps", "Memory", MemMipmaps);
|
||||
|
||||
|
Reference in New Issue
Block a user