This website requires JavaScript.
Explore
Help
Register
Sign In
ADHOC
/
replicant-frameworks_native
Watch
3
Star
0
Fork
0
You've already forked replicant-frameworks_native
Code
Issues
Pull Requests
Releases
Wiki
Activity
2ff1971b68
replicant-frameworks_native
/
opengl
/
tools
/
glgen
/
stubs
/
gles11
/
glGetString.nativeReg
2 lines
74 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Enable static Java APIs for OpenGL ES 1.1 extensions. 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.
2009-04-24 17:35:11 +00:00
{"glGetString", "(I)Ljava/lang/String;", (void *) android_glGetString },
Reference in New Issue
Copy Permalink