The bones of what will become a Metal backend.

This isn't anywhere close to usable (not even a blank screen will work), let alone complete. It's about 20% done.
This commit is contained in:
Alex Szpakowski
2020-01-26 15:46:33 -04:00
parent 23bc1a7aae
commit 74cf9b8236
58 changed files with 56720 additions and 15 deletions
+2 -1
View File
@@ -22,6 +22,7 @@
#include "common/config.h"
#include "Shader.h"
#include "ShaderStage.h"
#include "Graphics.h"
// C++
@@ -304,7 +305,7 @@ bool Shader::loadVolatile()
for (const auto &stage : stages)
{
if (stage.get() != nullptr)
stage->loadVolatile();
((ShaderStage*)stage.get())->loadVolatile();
}
program = glCreateProgram();