OSX: Temporary bodge for WindowQuartzSubdriver::SetPortAlphaOpaque issue
This commit is contained in:
@@ -507,6 +507,8 @@ void WindowQuartzSubdriver::SetPortAlphaOpaque()
|
|||||||
uint32 *pixels = (uint32*)this->window_buffer;
|
uint32 *pixels = (uint32*)this->window_buffer;
|
||||||
uint32 pitch = this->window_width;
|
uint32 pitch = this->window_width;
|
||||||
|
|
||||||
|
if (pixels == nullptr) return;
|
||||||
|
|
||||||
for (int y = 0; y < this->window_height; y++)
|
for (int y = 0; y < this->window_height; y++)
|
||||||
for (int x = 0; x < this->window_width; x++) {
|
for (int x = 0; x < this->window_width; x++) {
|
||||||
pixels[y * pitch + x] |= 0xFF000000;
|
pixels[y * pitch + x] |= 0xFF000000;
|
||||||
|
|||||||
Reference in New Issue
Block a user