summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-08-27 12:05:08 +0000
committerrodri <rgl@antares-labs.eu>2024-08-27 12:05:08 +0000
commit2c410b56f801708ec11a1af6cdd995d69e9db059 (patch)
tree06abcdaa277f02ee1138c82693cb72389ab1659c /internal.h
parent5ebbe977e9a25feff261b7c5fbbfe7af777dd681 (diff)
downloadlibgraphics-2c410b56f801708ec11a1af6cdd995d69e9db059.tar.gz
libgraphics-2c410b56f801708ec11a1af6cdd995d69e9db059.tar.bz2
libgraphics-2c410b56f801708ec11a1af6cdd995d69e9db059.zip
replace f?(min|max) functions with type-agnostic macros.
this simplifies the code and serves as another shadeop to use on application shaders.
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/internal.h b/internal.h
index 8b6784f..3190a19 100644
--- a/internal.h
+++ b/internal.h
@@ -55,8 +55,6 @@ int clipprimitive(Primitive*, Primitive*);
int rectclipline(Rectangle, Point*, Point*, Vertex*, Vertex*);
/* util */
-int min(int, int);
-int max(int, int);
void memsetf(void*, float, usize);
void memsetl(void*, ulong, usize);