3327d6c5ac
This is just plumbing. The Java APIs existed already, but there were no C APIs to hook the Java APIs up to. Now there are C APIs, so we can call them. Of course, whether or not the C APIs actually work when you call them depend upon the capabilities of the active OpenGL driver, which must be checked at run time. Also, while we're here, make the glGetString method static. It was always supposed to be static, but was accidentally implemented as non-static, because the code was copied from the non-static OpenGL ES classes.
2 lines
74 B
Plaintext
2 lines
74 B
Plaintext
{"glGetString", "(I)Ljava/lang/String;", (void *) android_glGetString },
|