projects
/
LazOpenGLCore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* added OpenGL ES support
[LazOpenGLCore.git]
/
uglcBitmap.pas
diff --git
a/uglcBitmap.pas
b/uglcBitmap.pas
index
06aec3e
..
76fbda8
100644
(file)
--- a/
uglcBitmap.pas
+++ b/
uglcBitmap.pas
@@
-1320,11
+1320,16
@@
type
{$IFEND}
TglcBitmapFormat = TglBitmapFormat;
{$IFEND}
TglcBitmapFormat = TglBitmapFormat;
- TglcBitmap1D = TglBitmap1D;
TglcBitmap2D = TglBitmap2D;
TglcBitmap2D = TglBitmap2D;
+{$IF NOT DEFINED(OPENGL_ES)}
+ TglcBitmap1D = TglBitmap1D;
+ TglcBitmapCubeMap = TglBitmapCubeMap;
+ TglcBitmapNormalMap = TglBitmapNormalMap;
+{$ELSEIF DEFINED(OPENGL_ES_2_0)}
TglcBitmapCubeMap = TglBitmapCubeMap;
TglcBitmapNormalMap = TglBitmapNormalMap;
TglcBitmapCubeMap = TglBitmapCubeMap;
TglcBitmapNormalMap = TglBitmapNormalMap;
-
+{$IFEND}
+
const
NULL_SIZE: TglBitmapPixelPosition = (Fields: []; X: 0; Y: 0);
const
NULL_SIZE: TglBitmapPixelPosition = (Fields: []; X: 0; Y: 0);