Set window dimensions in raster on Unix
These values were left uninitialized, leading to problems with the GUI in raster configs. BUG=skia: Change-Id: Ia8c16112e53b74daf66941d2923327c9732cf432 Reviewed-on: https://skia-review.googlesource.com/9114 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
af9847ee11
commit
7b98dc2775
@ -38,6 +38,8 @@ RasterWindowContext_xlib::RasterWindowContext_xlib(Display* display, XWindow win
|
||||
fDisplayParams = params;
|
||||
fGC = XCreateGC(fDisplay, fWindow, 0, nullptr);
|
||||
this->resize(width, height);
|
||||
fWidth = width;
|
||||
fHeight = height;
|
||||
}
|
||||
|
||||
void RasterWindowContext_xlib::setDisplayParams(const DisplayParams& params) {
|
||||
|
Loading…
Reference in New Issue
Block a user