mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-07 19:58:32 +09:00
15 lines
310 B
C
15 lines
310 B
C
#ifndef __ANDROID_DEBUG_H__
|
|
#define __ANDROID_DEBUG_H__
|
|
|
|
// Redirect printf() to Android log
|
|
// Put this file into CFLAGS: "-include ../android_debug.h"
|
|
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include <android/log.h>
|
|
|
|
//#define printf(...) __android_log_print(ANDROID_LOG_INFO, "LIBGL", __VA_ARGS__)
|
|
|
|
#endif
|
|
|