UltimateZoneBuilder/Source/Native/Precomp.h
Magnus Norddahl 2eaf323ad0 - fix vertex array object binding bug
- add shader program
- fix that alpha color was stored in red channel in Color4
- fix buffer upload bug
2019-08-12 08:33:40 +02:00

17 lines
381 B
C++

#pragma once
#include <cstdint>
#include <vector>
#include <map>
#include <memory>
#include <Windows.h>
#include "gl_load/gl_system.h"
#undef min
#undef max
#define APART(x) (static_cast<uint32_t>(x) >> 24)
#define RPART(x) ((static_cast<uint32_t>(x) >> 16) & 0xff)
#define GPART(x) ((static_cast<uint32_t>(x) >> 8) & 0xff)
#define BPART(x) (static_cast<uint32_t>(x) & 0xff)