Skip to content

Instantly share code, notes, and snippets.

@jrgleason
Created June 26, 2013 04:09
Show Gist options
  • Save jrgleason/5864708 to your computer and use it in GitHub Desktop.
Save jrgleason/5864708 to your computer and use it in GitHub Desktop.
JNI C file
#include "game-gl.h"
#include <jni.h>
#include "box2d.hpp"
JNIEXPORT void JNICALL Java_com_gleason_gl_nat_Native_init(JNIEnv* env, jclass class)
{
InitializeOpenGL();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment