mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 919987 - pass surface as an EGLSurface, not a void* - r=jgilbert
This commit is contained in:
parent
149a3ba19b
commit
bb3f8d22ce
@ -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…
Reference in New Issue
Block a user