Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.game.cube;
- import android.content.Context;
- import android.opengl.GLSurfaceView;
- public class OpenGLSurfaceView extends GLSurfaceView
- {
- public OpenGLSurfaceView(Context context)
- {
- super(context);
- setEGLContextClientVersion(2);
- setRenderer(new OpenGLRenderer(context));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement