diff options
-rw-r--r-- | android/opengles.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/android/opengles.c b/android/opengles.c index 521dc03..70e3f8c 100644 --- a/android/opengles.c +++ b/android/opengles.c @@ -12,6 +12,7 @@ #include "config-host.h" #include "android/opengles.h" +#include <assert.h> /* Declared in "android/globals.h" */ int android_gles_fast_pipes = 1; @@ -273,6 +274,15 @@ int android_startOpenglesRenderer(int width, int height, OnPostFunc onPost, void return -1; } +void android_getOpenglesHardwareStrings(char* vendor, size_t vendorBufSize, + char* renderer, size_t rendererBufSize, + char* version, size_t versionBufSize) +{ + assert(vendorBufSize > 0 && rendererBufSize > 0 && versionBufSize > 0); + assert(vendor != NULL && renderer != NULL && version != NULL); + vendor[0] = renderer[0] = version[0] = 0; +} + void android_stopOpenglesRenderer(void) {} |