rename ApplyPalette with SetPalette
This commit is contained in:
@@ -61,7 +61,7 @@ class Renderer {
|
||||
gfx::Bitmap &bitmap,
|
||||
gfx::SnesPalette &palette) {
|
||||
bitmap.Create(width, height, depth, data);
|
||||
RETURN_IF_ERROR(bitmap.ApplyPalette(palette));
|
||||
RETURN_IF_ERROR(bitmap.SetPalette(palette));
|
||||
RenderBitmap(&bitmap);
|
||||
return absl::OkStatus();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user