summaryrefslogtreecommitdiffstats
path: root/src/egl/main
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-06-28 21:23:00 +0100
committerEmil Velikov <[email protected]>2017-07-12 15:42:03 +0100
commit9365ff4b885730d76e535edc12445b6f1b72f667 (patch)
treedb1c4bd22135f61af98bc013ad29f0801c78a9d2 /src/egl/main
parentf7e78abdf45b26f3991dc336120162ae01b208f1 (diff)
egl: move eglCreateDRMImageMESA's malloc later
Don't bother allocating any memory until we're finished parsing and sanitising all the attributes. As a nice side effect we now consistently set eglError when any of the attrib/values are not correct. Strangely enough the spec does not mention _anything_ about what error should be set where, even if the implementation already sets the odd one. Cc: Kristian Høgsberg <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/egl/main')
0 files changed, 0 insertions, 0 deletions