* fixed some compiler warnings in dglOpenGL.pas
[LazOpenGLCore.git] / uglcLight.pas
index 6a36b43..fd79ca5 100644 (file)
@@ -21,7 +21,10 @@ type
   end;
   PglcMaterialRec = ^TglcMaterialRec;
 
-  TglcLightType = (ltGlobal, ltPoint, ltSpot);
+  TglcLightType = (
+    ltGlobal = 0,
+    ltPoint  = 1,
+    ltSpot   = 2);
   TglcLightRec = packed record
     Ambient: TgluVector4f;
     Diffuse: TgluVector4f;