14 lines
278 B
C++
14 lines
278 B
C++
#pragma once
|
|
|
|
#if __STDCPP_FLOAT16_T__
|
|
#include <stdfloat>
|
|
#endif
|
|
|
|
#define GL_HALF_FLOAT 0x140B
|
|
#define GL_QUANTIZED_SHORT 0x140C
|
|
|
|
#if __STDCPP_FLOAT16_T__
|
|
#define GLhalf std::float16_t
|
|
#else
|
|
#define GLhalf unsigned short
|
|
#endif |