diff options
author | Tapani Pälli <[email protected]> | 2018-09-11 10:32:32 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2018-09-12 11:43:21 +0300 |
commit | 30580640f2508e935e667e25f0e0cf4ff0ce55af (patch) | |
tree | 55ade50fa923496a5ffd66acb6491609f906c074 /src/mesa/program/prog_cache.c | |
parent | eaa718588ee97241cdbfea0b49bc30d93a99667c (diff) |
intel/tools: fix initial position of window in aubinator viewer
Currently position is set before widgets are sized by gtk and
calculation can get wrong results where window is positioned
offscreen. Patch fixes this by setting aubfile window position
as 0,0 only when size_allocate has been called to the widget.
Now window is always positioned to 0,0 if imgui.ini is missing.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_cache.c')
0 files changed, 0 insertions, 0 deletions