mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Android buildfix.
Also, this warning flag appears not supported. (4.6?)
This commit is contained in:
parent
6a051a9eed
commit
9e109e16d9
@ -239,7 +239,7 @@ namespace Reporting
|
||||
{
|
||||
// Disabled when using certain hacks, because they make for poor reports.
|
||||
// TODO: Numbers to avoid dependency on GLES code.
|
||||
if (g_Config.iRenderingMode >= FB_READFBOMEMORY_CPU)
|
||||
if (g_Config.iRenderingMode >= FBO_READFBOMEMORY_MIN)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
@ -41,12 +41,15 @@ enum {
|
||||
enum {
|
||||
FB_NON_BUFFERED_MODE = 0,
|
||||
FB_BUFFERED_MODE = 1,
|
||||
|
||||
// Hm, it's unfortunate that GPU has ended up as two separate values in GL and GLES.
|
||||
#ifndef USING_GLES2
|
||||
FB_READFBOMEMORY_CPU = 2,
|
||||
FB_READFBOMEMORY_GPU = 3,
|
||||
#else
|
||||
FB_READFBOMEMORY_GPU = 2,
|
||||
#endif
|
||||
FBO_READFBOMEMORY_MIN = 2
|
||||
};
|
||||
|
||||
struct VirtualFramebuffer {
|
||||
|
@ -5,7 +5,7 @@ LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := native_audio
|
||||
LOCAL_CFLAGS := -O3 -fsigned-char -Wall -Wno-multichar -Wno-psabi -Wno-literal-suffix -D__STDC_CONSTANT_MACROS
|
||||
LOCAL_CFLAGS := -O3 -fsigned-char -Wall -Wno-multichar -Wno-psabi -D__STDC_CONSTANT_MACROS
|
||||
# yes, it's really CPPFLAGS for C++
|
||||
LOCAL_CPPFLAGS := -fno-exceptions -std=gnu++11 -fno-rtti
|
||||
NATIVE := ../../native
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
LOCAL_CFLAGS := -DUSE_FFMPEG -DUSING_GLES2 -O3 -fsigned-char -Wall -Wno-multichar -Wno-psabi -Wno-unused-variable -fno-strict-aliasing -D__STDC_CONSTANT_MACROS
|
||||
# yes, it's really CPPFLAGS for C++
|
||||
LOCAL_CPPFLAGS := -fno-exceptions -std=gnu++11 -fno-rtti -Wno-reorder -Wno-literal-suffix
|
||||
LOCAL_CPPFLAGS := -fno-exceptions -std=gnu++11 -fno-rtti -Wno-reorder
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(LOCAL_PATH)/../../Common \
|
||||
$(LOCAL_PATH)/../.. \
|
||||
|
Loading…
Reference in New Issue
Block a user