Added swap chain.

This commit is contained in:
2021-06-10 23:47:41 +02:00
parent 02fcf66ef7
commit 9ab1361fbd
7 changed files with 175 additions and 371 deletions

9
src/util.c Normal file
View File

@@ -0,0 +1,9 @@
#include "util.h"
int min(int a, int b) {
return a > b ? b : a;
}
int max(int a, int b) {
return a > b ? a : b;
}