mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
26 lines
466 B
C++
26 lines
466 B
C++
#ifndef XNA_PLATFORM_DATABUFFER_DX_HPP
|
|
#define XNA_PLATFORM_DATABUFFER_DX_HPP
|
|
|
|
#include "../graphics/databuffer.hpp"
|
|
#include "dxheaders.hpp"
|
|
|
|
namespace xna {
|
|
class DataBuffer : public IDataBuffer {
|
|
public:
|
|
virtual ~DataBuffer() override {
|
|
if (_blob) {
|
|
_blob->Release();
|
|
_blob = nullptr;
|
|
}
|
|
}
|
|
|
|
virtual bool Initialize(GraphicsDevice& device, xna_error_nullarg) override {
|
|
return false;
|
|
}
|
|
|
|
public:
|
|
ID3DBlob* _blob = nullptr;
|
|
};
|
|
}
|
|
|
|
#endif |