Samples
Samples
OpenGLApplication
Language: Oxygene, Platform: Cooper, Category: Android
https://github.com/remobjects/ElementsSamples/tree/master/Oxygene/Cooper/Android/OpenGLApplication
-
org.me.openglapplication
-
References
- android
- Source Files
- Other Files
-
References
GLHelp.pas
namespace org.me.openglapplication;
interface
type
GLHelp = public class
private
const Tag = 'OpenGLApplication';
public
class method GLCheck(errorCode: Integer);
end;
implementation
class method GLHelp.GLCheck(errorCode: Integer);
begin
var msg := Android.OpenGL.GLU.gluErrorString(errorCode);
if msg <> nil then
android.util.Log.e(Tag, 'OpenGL error: ' + msg)
end;
end.
