mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 23:30:46 +00:00
Bug 919987 - pass surface as an EGLSurface, not a void* - r=jgilbert
This commit is contained in:
parent
11ce1cd13f
commit
e7edf66119
@ -2460,7 +2460,7 @@ public:
|
||||
* If surf is null, this removes any previously set override, and makes the
|
||||
* context current again against its primary surface.
|
||||
*/
|
||||
virtual void SetEGLSurfaceOverride(void* surf) {
|
||||
virtual void SetEGLSurfaceOverride(EGLSurface surf) {
|
||||
MOZ_CRASH("Must be called against a GLContextEGL.");
|
||||
}
|
||||
|
||||
|
@ -431,7 +431,7 @@ public:
|
||||
}
|
||||
#endif
|
||||
|
||||
virtual void SetEGLSurfaceOverride(void* surf) MOZ_OVERRIDE {
|
||||
virtual void SetEGLSurfaceOverride(EGLSurface surf) MOZ_OVERRIDE {
|
||||
if (Screen()) {
|
||||
/* Blit `draw` to `read` if we need to, before we potentially juggle
|
||||
* `read` around. If we don't, we might attach a different `read`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user