[client] egl: allow for partial texture updates

This commit is contained in:
Geoffrey McRae committed 2022-05-21 21:21:16 +10:00
1 parent 7ad3610276
commit 1fcdcc8725
4 files changed
+67 -6

No files matched your search

+4
View File
@@ -31,6 +31,10 @@
_a > _b ? _a : _b; })
#endif
#ifndef clamp
#define clamp(v,a,b) min(max(v, a), b)
#endif
#define UPCAST(type, x) \
(type *)((uintptr_t)(x) - offsetof(type, base))