mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 22:37:50 +00:00
Bug 788408 - Part 1. fReadPixels should also respect mFlipped. r=mattwoodrow
This commit is contained in:
parent
999966f54c
commit
62ed6d182a
@ -2631,7 +2631,7 @@ public:
|
||||
|
||||
void raw_fReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) {
|
||||
BEFORE_GL_CALL;
|
||||
mSymbols.fReadPixels(x, y, width, height, format, type, pixels);
|
||||
mSymbols.fReadPixels(x, FixYValue(y, height), width, height, format, type, pixels);
|
||||
AFTER_GL_CALL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user