Avoid using None in enums, fix compilation

This commit is contained in:
Phillip Stephens 2019-08-20 01:06:14 -07:00
parent 091371458d
commit 241db19cfb
3 changed files with 4 additions and 2 deletions

View File

@ -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,

View File

@ -1,6 +1,7 @@
#pragma once
#include <vector>
#include <cstdint>
namespace boo {
class IMIDIReader;

View File

@ -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"