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:
|
||||
enum class EGraphicsAPI {
|
||||
None = 0,
|
||||
Invalid = 0,
|
||||
OpenGL3_3 = 1,
|
||||
OpenGL4_2 = 2,
|
||||
Vulkan = 3,
|
||||
|
@ -26,7 +26,7 @@ public:
|
|||
};
|
||||
|
||||
enum class EPixelFormat {
|
||||
None = 0,
|
||||
Invalid = 0,
|
||||
RGBA8 = 1, /* Default */
|
||||
RGBA16 = 2,
|
||||
RGBA8_Z24 = 3,
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
namespace boo {
|
||||
class IMIDIReader;
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "boo/BooObject.hpp"
|
||||
#include "boo/IGraphicsContext.hpp"
|
||||
#include "boo/System.hpp"
|
||||
#include "boo/IWindow.hpp"
|
||||
#include "boo/graphicsdev/IGraphicsDataFactory.hpp"
|
||||
#include "boo/graphicsdev/VulkanDispatchTable.hpp"
|
||||
|
||||
|
|
Loading…
Reference in New Issue