[client] egl: allow for partial texture updates
This commit is contained in:
1 parent
7ad3610276
commit
1fcdcc8725
4 files changed
+67
-6
No files matched your search
@@ -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))
|
||||
|
||||
|
||||
Reference in new issue
Block a user