mirror of
https://github.com/termux/termux-packages.git
synced 2025-03-13 23:37:54 +00:00
30 lines
510 B
Diff
30 lines
510 B
Diff
+++ a/src/GLView.h
|
|
@@ -71,7 +71,6 @@
|
|
bool showcrosshairs;
|
|
bool showscale;
|
|
|
|
-#ifdef ENABLE_OPENCSG
|
|
/// Shader attribute identifiers
|
|
struct shaderinfo_t {
|
|
enum shader_type_t {
|
|
@@ -80,6 +79,7 @@
|
|
SELECT_RENDERING,
|
|
};
|
|
int progid = 0;
|
|
shader_type_t type;
|
|
+#ifdef ENABLE_OPENCSG
|
|
union {
|
|
struct {
|
|
@@ -92,9 +92,10 @@
|
|
int identifier;
|
|
} select_rendering;
|
|
} data;
|
|
-
|
|
+#endif
|
|
};
|
|
|
|
+#ifdef ENABLE_OPENCSG
|
|
shaderinfo_t shaderinfo;
|
|
bool is_opencsg_capable;
|
|
bool has_shaders;
|