blob: e48ed2e7f9550f2fe008d9d20bfdff09051172ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#include "context_gl_android.h"
#include <GLES2/gl2.h>
#include "os/os.h"
void ContextGLAndroid::make_current() {
};
int ContextGLAndroid::get_window_width() {
return OS::get_singleton()->get_default_video_mode().width;
};
int ContextGLAndroid::get_window_height() {
return OS::get_singleton()->get_default_video_mode().height;
};
void ContextGLAndroid::swap_buffers() {
};
Error ContextGLAndroid::initialize() {
return OK;
};
ContextGLAndroid::ContextGLAndroid() {
};
ContextGLAndroid::~ContextGLAndroid() {
};
|