| 1038 | } |
| 1039 | |
| 1040 | bool GL46Engine::Update(std::shared_ptr<Buffer> const& buffer) |
| 1041 | { |
| 1042 | if (!buffer->GetData()) |
| 1043 | { |
| 1044 | buffer->CreateStorage(); |
| 1045 | } |
| 1046 | |
| 1047 | auto glBuffer = static_cast<GL46Buffer*>(Bind(buffer)); |
| 1048 | return glBuffer->Update(); |
| 1049 | } |
| 1050 | |
| 1051 | bool GL46Engine::Update(std::shared_ptr<TextureSingle> const& texture) |
| 1052 | { |
nothing calls this directly
no test coverage detected