user avatar
Do not pass incorrect constant to glEnable
Laszlo Agocs authored
There is no such thing as DEPTH_WRITE. The correct enum value is DEPTH_WRITEMASK.

In addition, there is no point in these calls. Depth write is enabled by default
according to the spec.

Change-Id: Icc0400f4e25e4c011c1ec2a33f1986161bbe71b8
Reviewed-by: default avatarPasi Keränen <pasi.keranen@digia.com>
83e96cf5