egl_dri2: add a note about dri2_create_screen
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 7 Nov 2014 03:42:15 +0000 (03:42 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 7 Nov 2014 18:31:23 +0000 (18:31 +0000)
commit8ed08e69bca515e6b116d0306390cdd119acc140
tree79a9deccc7dbaa4259fb99fb6e4ab6b240c91f82
parent38cec0303be9ef79facbb2c8f73eb6a2f77e82ca
egl_dri2: add a note about dri2_create_screen

The function is not called by platform_drm. As such one needs to
pay special attention at teardown.

v2: Fix the comment block. Spotted by Ken.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-and-tested-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
src/egl/drivers/dri2/egl_dri2.c