Skip to content

Commit 17d9981

Browse files
committed
cleanup
1 parent 529fa12 commit 17d9981

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/window/gui/resource/GuiTextureFactory.cpp

-10
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,6 @@ std::shared_ptr<IResource> ResourceFactoryBinaryGuiTextureV0::ReadResource(std::
2222
return nullptr;
2323
}
2424

25-
// GfxRenderingAPI* api = gfx_get_current_rendering_api();
26-
27-
// // TODO: Nothing ever unloads the texture from Fast3D here.
28-
// guiTextureResource->GuiTextureData.RendererTextureId = api->new_texture();
29-
// api->select_texture(0, guiTextureResource->GuiTextureData.RendererTextureId);
30-
// api->set_sampler_parameters(0, false, 0, 0);
31-
// api->upload_texture(/* guiTextureResource->ImageData.data() */ imgData, guiTextureResource->GuiTextureData.Width, guiTextureResource->GuiTextureData.Height);
32-
33-
// stbi_image_free(imgData);
34-
3525
return guiTexture;
3626
}
3727
} // namespace LUS

0 commit comments

Comments
 (0)