mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user