Core: When creating the layer surface also pass along the DSCAPS_GL flag.