clang-format

This commit is contained in:
olebeck 2025-07-15 14:46:40 +02:00
parent 9ee7a9be8b
commit bc96276c45
4 changed files with 8 additions and 6 deletions

View File

@ -1121,7 +1121,8 @@ Uint32 GXMRenderer::GetTextureId(IDirect3DRMTexture* iTexture, bool isUi, float
return textureId; return textureId;
} }
const SceGxmTexture* GXMRenderer::UseTexture(GXMTextureCacheEntry& texture) { const SceGxmTexture* GXMRenderer::UseTexture(GXMTextureCacheEntry& texture)
{
texture.notification = &this->fragmentNotifications[this->currentFragmentBufferIndex]; texture.notification = &this->fragmentNotifications[this->currentFragmentBufferIndex];
sceGxmSetFragmentTexture(gxm->context, 0, &texture.gxmTexture); sceGxmSetFragmentTexture(gxm->context, 0, &texture.gxmTexture);
return &texture.gxmTexture; return &texture.gxmTexture;

View File

@ -79,6 +79,7 @@ class GXMRenderer : public Direct3DRMRenderer {
void SetDither(bool dither) override; void SetDither(bool dither) override;
void DeleteTextures(int index); void DeleteTextures(int index);
private: private:
void AddTextureDestroyCallback(Uint32 id, IDirect3DRMTexture* texture); void AddTextureDestroyCallback(Uint32 id, IDirect3DRMTexture* texture);
void AddMeshDestroyCallback(Uint32 id, IDirect3DRMMesh* mesh); void AddMeshDestroyCallback(Uint32 id, IDirect3DRMMesh* mesh);