mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-24 01:55:37 +01:00
Constify
This commit is contained in:
parent
917c4dc9dd
commit
64747eb828
@ -94,7 +94,7 @@ class ImageLoader {
|
||||
|
||||
uint32 GetChannelForPixel(uint32 x, uint32 y, uint32 ch);
|
||||
|
||||
bool LoadFromPixelBuffer(uint32 *data, bool flipY = false);
|
||||
bool LoadFromPixelBuffer(const uint32 *data, bool flipY = false);
|
||||
|
||||
public:
|
||||
virtual ~ImageLoader() {
|
||||
|
@ -137,7 +137,7 @@ unsigned int ImageLoader::GetChannelForPixel(uint32 x, uint32 y, uint32 ch) {
|
||||
return val;
|
||||
}
|
||||
|
||||
bool ImageLoader::LoadFromPixelBuffer(uint32 *data, bool flipY) {
|
||||
bool ImageLoader::LoadFromPixelBuffer(const uint32 *data, bool flipY) {
|
||||
m_RedChannelPrecision = 8;
|
||||
m_GreenChannelPrecision = 8;
|
||||
m_BlueChannelPrecision = 8;
|
||||
|
Loading…
Reference in New Issue
Block a user