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/src/gfx_dummy.cpp

19 lines
367 B
C++
Raw Normal View History

2022-02-21 00:28:39 -05:00
#include "gfx_dummy.hpp"
2020-08-11 12:07:21 -04:00
#include "gfx_commandbuffer.hpp"
bool GFXDummy::is_supported() {
return true;
2020-08-11 12:07:21 -04:00
}
const char* GFXDummy::get_name() {
return "Dummy";
2020-08-11 12:07:21 -04:00
}
bool GFXDummy::initialize(const GFXCreateInfo& createInfo) {
return true;
}
GFXCommandBuffer* GFXDummy::acquire_command_buffer(bool for_presentation_use) {
return new GFXCommandBuffer();
}