mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-29 15:11:56 +00:00
2eaf323ad0
- add shader program - fix that alpha color was stored in red channel in Color4 - fix buffer upload bug
17 lines
381 B
C++
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)
|