mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-22 16:33:41 +00:00
Constify
This commit is contained in:
parent
917c4dc9dd
commit
64747eb828
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue