There's now more checks to prevent crashing when the mapped buffer is actually null, like when running with the dummy backend.
13 lines
293 B
C++
Executable file
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;
|
|
};
|