mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-17 00:47:01 +00:00
Initial D3D window appearing
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
#include <sdkddkver.h>
|
||||
#if _WIN32_WINNT_WIN7
|
||||
|
||||
#if 0
|
||||
|
||||
#include "IGraphicsDataFactory.hpp"
|
||||
|
||||
namespace boo
|
||||
@@ -50,7 +52,7 @@ public:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // _WIN32_WINNT_WIN7
|
||||
#endif // _WIN32
|
||||
#endif // GDEV_D3D11_HPP
|
||||
|
||||
@@ -115,6 +115,9 @@ struct VertexElementDescriptor
|
||||
const IGraphicsBuffer* indexBuffer = nullptr;
|
||||
VertexSemantic semantic;
|
||||
int semanticIdx = 0;
|
||||
VertexElementDescriptor() = default;
|
||||
VertexElementDescriptor(const IGraphicsBuffer* v, const IGraphicsBuffer* i, VertexSemantic s, int idx=0)
|
||||
: vertBuffer(v), indexBuffer(i), semantic(s), semanticIdx(idx) {}
|
||||
};
|
||||
|
||||
/** Opaque token for referencing a complete graphics pipeline state necessary
|
||||
|
||||
@@ -81,6 +81,8 @@
|
||||
#define __glew_h__
|
||||
#define __GLEW_H__
|
||||
|
||||
#define GLEW_STATIC 1
|
||||
|
||||
#if defined(__gl_h_) || defined(__GL_H__) || defined(_GL_H) || defined(__X_GL_H)
|
||||
#error gl.h included before glew.h
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user