diff options
author | Emil Velikov <[email protected]> | 2017-08-05 00:25:52 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-08-10 19:32:14 +0100 |
commit | 430a80a7b6cb05525cdf8c20be5aede6d717ec45 (patch) | |
tree | ae8014676587d9b5c1eab5cb1ce687ea4d6ef9c4 /src/egl/generate | |
parent | 794df9acad9828f97aa27523e87eed2f3c808378 (diff) |
egl/drm: remove unreachable code in dri2_drm_create_surface()
The function can be called only when the type is EGL_WINDOW_BIT.
Remove the unneeded switch statement.
v2: Rename the local variable window to surface (Eric)
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]> (v1)
Diffstat (limited to 'src/egl/generate')
0 files changed, 0 insertions, 0 deletions