Removed unused font uploading functionality.
Font textures are handled directly through ImGui. PiperOrigin-RevId: 840259537 Change-Id: I5b6b0dc5d2c1c7066b4a23f0106de34285f40e6c
This commit is contained in:
committed by
Copybara-Service
parent
da36e822a8
commit
6ed9f2be7a
@@ -137,15 +137,6 @@ void mjr_readPixels(unsigned char* rgb, float* depth, mjrRect viewport,
|
||||
g_filament_context->ReadPixels(viewport, rgb, depth);
|
||||
}
|
||||
|
||||
void mjr_uploadFont(const unsigned char* pixels, int width, int height, int bpp,
|
||||
int id, const mjrContext* con) {
|
||||
CheckFilamentContext();
|
||||
if (bpp != 4) {
|
||||
mju_error("Only 4bpp fonts are supported, got %d", bpp);
|
||||
}
|
||||
g_filament_context->UploadFont(pixels, width, height, id);
|
||||
}
|
||||
|
||||
double mjr_getFrameRate(const mjrContext* con) {
|
||||
CheckFilamentContext();
|
||||
return g_filament_context->GetFrameRate();
|
||||
|
||||
Reference in New Issue
Block a user