Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
prism/engine/gfx/dummy/include/gfx_dummy.hpp
Joshua Goins ca57de8f99 Support GFX dummy a little better
There's now more checks to prevent crashing when the
mapped buffer is actually null, like when running with the dummy
backend.
2022-02-21 12:09:14 -05:00

13 lines
293 B
C++
Executable file

#pragma once
#include "gfx.hpp"
class GFXDummy : public GFX {
public:
bool is_supported() override;
const char* get_name() override;
bool initialize(const GFXCreateInfo& createInfo) override;
GFXCommandBuffer* acquire_command_buffer(bool for_presentation_use) override;
};