mirror of https://github.com/AxioDL/boo.git
Avoid using None in enums, fix compilation
This commit is contained in:
parent
091371458d
commit
241db19cfb
|
@ -14,7 +14,7 @@ class IGraphicsContext {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum class EGraphicsAPI {
|
enum class EGraphicsAPI {
|
||||||
None = 0,
|
Invalid = 0,
|
||||||
OpenGL3_3 = 1,
|
OpenGL3_3 = 1,
|
||||||
OpenGL4_2 = 2,
|
OpenGL4_2 = 2,
|
||||||
Vulkan = 3,
|
Vulkan = 3,
|
||||||
|
@ -26,7 +26,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class EPixelFormat {
|
enum class EPixelFormat {
|
||||||
None = 0,
|
Invalid = 0,
|
||||||
RGBA8 = 1, /* Default */
|
RGBA8 = 1, /* Default */
|
||||||
RGBA16 = 2,
|
RGBA16 = 2,
|
||||||
RGBA8_Z24 = 3,
|
RGBA8_Z24 = 3,
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
namespace boo {
|
namespace boo {
|
||||||
class IMIDIReader;
|
class IMIDIReader;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#include "boo/BooObject.hpp"
|
#include "boo/BooObject.hpp"
|
||||||
#include "boo/IGraphicsContext.hpp"
|
#include "boo/IGraphicsContext.hpp"
|
||||||
#include "boo/System.hpp"
|
#include "boo/System.hpp"
|
||||||
|
#include "boo/IWindow.hpp"
|
||||||
#include "boo/graphicsdev/IGraphicsDataFactory.hpp"
|
#include "boo/graphicsdev/IGraphicsDataFactory.hpp"
|
||||||
#include "boo/graphicsdev/VulkanDispatchTable.hpp"
|
#include "boo/graphicsdev/VulkanDispatchTable.hpp"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue