mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
Initial android support
This commit is contained in:
@@ -50,7 +50,7 @@ def build(bld):
|
||||
|
||||
defines = []
|
||||
|
||||
libs = ['tier0','tier1','tier2','tier3','vstdlib','sdl2']
|
||||
libs = ['tier0','tier1','tier2','tier3','vstdlib','SDL2']
|
||||
|
||||
install_path = bld.env.LIBDIR
|
||||
|
||||
|
||||
@@ -502,7 +502,7 @@ void CLinuxFont::GetCharRGBA( wchar_t ch, int rgbaWide, int rgbaTall, unsigned c
|
||||
if( error == 0 )
|
||||
{
|
||||
uint32 alpha_scale = 1;
|
||||
int Width = min( rgbaWide, bitmap.width );
|
||||
int Width = MIN( rgbaWide, bitmap.width );
|
||||
unsigned char *rgba = prgba + ( nSkipRows * rgbaWide * 4 );
|
||||
|
||||
switch( m_face->glyph->bitmap.pixel_mode )
|
||||
|
||||
@@ -32,8 +32,6 @@ def build(bld):
|
||||
'../../public/tier0',
|
||||
'../../public/tier1',
|
||||
'../../common',
|
||||
'../../thirdparty/freetype2-android/include', # [$ANDROID]
|
||||
'../../thirdparty/fontconfig' # [$ANDROID]
|
||||
] + bld.env.INCLUDES_FT2
|
||||
|
||||
defines = []
|
||||
|
||||
Reference in New Issue
Block a user