fix: add sqpcpy memcpy
This commit is contained in:
parent
1e61acb973
commit
feaecc7fb1
|
@ -10,6 +10,9 @@
|
|||
#define TRACE_ENABLED 0
|
||||
#define TRACE() if(TRACE_ENABLED) {fprintf(stderr, "%s\n", __func__);}
|
||||
|
||||
#define FASTCPY(dst, src, bytes) \
|
||||
(bytes % 32 == 0) ? sq_cpy(dst, src, bytes) : memcpy(dst, src, bytes);
|
||||
|
||||
#define VERTEX_ENABLED_FLAG (1 << 0)
|
||||
#define UV_ENABLED_FLAG (1 << 1)
|
||||
#define ST_ENABLED_FLAG (1 << 2)
|
||||
|
|
11
Makefile
11
Makefile
|
@ -6,9 +6,9 @@
|
|||
# Copyright (C) 2018 Luke Benstead
|
||||
|
||||
TARGET = libGLdc.a
|
||||
OBJS = GL/gldc.o
|
||||
#OBJS = GL/draw.o GL/flush.o GL/framebuffer.o GL/immediate.o GL/lighting.o GL/state.o GL/texture.o GL/glu.o
|
||||
#OBJS += GL/matrix.o GL/fog.o GL/error.o GL/clip.o containers/stack.o containers/named_array.o containers/aligned_vector.o GL/profiler.o
|
||||
#OBJS = GL/gldc.o
|
||||
OBJS = GL/draw.o GL/flush.o GL/framebuffer.o GL/immediate.o GL/lighting.o GL/state.o GL/texture.o GL/glu.o
|
||||
OBJS += GL/matrix.o GL/fog.o GL/error.o GL/clip.o containers/stack.o containers/named_array.o containers/aligned_vector.o GL/profiler.o
|
||||
OBJS += containers/stack.o containers/named_array.o containers/aligned_vector.o GL/profiler.o
|
||||
|
||||
SUBDIRS =
|
||||
|
@ -50,4 +50,7 @@ offset:
|
|||
$(KOS_MAKE) -C samples/polygon_offset
|
||||
|
||||
nehe07:
|
||||
$(KOS_MAKE) -C samples/nehe07 dist
|
||||
$(KOS_MAKE) -C samples/nehe07 dist
|
||||
|
||||
mipmap:
|
||||
$(KOS_MAKE) -C samples/mipmap dist
|
Loading…
Reference in New Issue
Block a user