rename files

This commit is contained in:
Samuliak 2024-07-03 15:26:36 +02:00
parent a08d61ad46
commit 9527c2acdb
7 changed files with 12 additions and 7 deletions

View file

@ -1,7 +1,7 @@
#include <algorithm>
#include "colour.hpp"
#include "renderer_mtl/renderer_mtl.hpp"
#include "renderer_mtl/texture.hpp"
#include "renderer_mtl/mtl_texture.hpp"
using namespace Helpers;

View file

@ -1,4 +1,4 @@
#include "renderer_mtl/texture.hpp"
#include "renderer_mtl/mtl_texture.hpp"
#include "colour.hpp"
#include <array>

View file

@ -404,7 +404,6 @@ void RendererMTL::drawVertices(PICA::PrimType primType, std::span<const PICA::Ve
renderCommandEncoder->setVertexBytes(&regs[0x48], 0x200 - 0x48, 0);
renderCommandEncoder->setFragmentBytes(&regs[0x48], 0x200 - 0x48, 0);
// TODO: respect primitive type
renderCommandEncoder->drawPrimitives(toMTLPrimitiveType(primType), NS::UInteger(0), NS::UInteger(vertices.size()));
}