ref: 8c41416c09ee0f0f7f9427e0d1eda92db5f63c63
parent: 100dc4ac891a7159b45d6463b8483b595e180241
author: David <gek@katherine>
date: Sun Mar 7 09:56:44 EST 2021
Automatic commit.
--- a/SDL_Examples/include/3dMath.h
+++ b/SDL_Examples/include/3dMath.h
@@ -4,10 +4,10 @@
#ifndef CHAD_MATH_H
#define CHAD_MATH_H
-
+#define CHAD_MATH_NO_ALIGN
#ifndef CHAD_MATH_NO_ALIGN
#include <stdalign.h>
-#define CHAD_ALIGN alignas(16)
+#define CHAD_ALIGN alignas(32)
#else
#define CHAD_ALIGN /*a comment*/
#endif
--- a/config.mk
+++ b/config.mk
@@ -4,7 +4,7 @@
CC= gcc
#CFLAGS= -Wall -w -O3 -g -std=c99 -mtune=native -DNDEBUG
#CFLAGS= -Wall -w -O3 -g -std=c99 -march=native -DNDEBUG
-CFLAGS= -Wall -O3 -std=c99 -DNDEBUG
+CFLAGS= -Wall -O3 -std=c99 -DNDEBUG -g
#CFLAGS= -Wall -O1 -g -std=c99 -Wno-undef -DNDEBUG
LFLAGS=
--- a/src/init.c
+++ b/src/init.c
@@ -67,10 +67,8 @@
for(i = 0; i < MAX_BUFFERS; i++){
if(s->buffers[i])
{
- //tgl_warning("\nFound a buffer that needs deleting! its handle is %d\n",i+1);
if(s->buffers[i]->data){
gl_free(s->buffers[i]->data);
- //tgl_warning("\nIt has data too! its handle is %d\n",i+1);
}
gl_free(s->buffers[i]);
}