From a2982d58e484280329f497aba37736d8177e6715 Mon Sep 17 00:00:00 2001 From: Angelo Papenhoff Date: Tue, 23 Dec 2014 16:15:11 +0100 Subject: [PATCH] Forgot dependencies. --- Makefile | 1 + src/rwogl.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 70691e6..714543e 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ SRC := $(patsubst %.cpp,$(SRCDIR)/%.cpp, rwbase.cpp clump.cpp\ geometry.cpp plugins.cpp ps2.cpp\ ogl.cpp) OBJ := $(patsubst $(SRCDIR)/%.cpp,$(BUILDDIR)/%.o,$(SRC)) +OBJ := $(patsubst $(SRCDIR)/%.cpp,$(BUILDDIR)/%.d,$(SRC)) CFLAGS=-Wall -Wextra -g #-Wno-parentheses #-Wconversion librw.a: $(OBJ) diff --git a/src/rwogl.h b/src/rwogl.h index 265e9fc..60c8e3c 100644 --- a/src/rwogl.h +++ b/src/rwogl.h @@ -3,7 +3,9 @@ namespace Rw { struct OGLAttrib { // arguments to glVertexAttribPointer (should use OpenGL types here) + // Vertex = 0, TexCoord, Normal, Color, Weight, Bone Index uint32 index; + // float = 0, byte, ubyte, short, ushort int32 type; bool32 normalized; int32 size;