raise EglBitmapNonPowerOfTwo.Create('TglBitmap1D.GenTexture - Rendercontex dosn''t support non power of two texture.');
end;
+ inherited UploadData(aDataObj, aCheckSize);
+
if (fID = 0) then
CreateID;
SetupParameters(BuildWithGlu);
UploadDataIntern(aDataObj, BuildWithGlu);
glAreTexturesResident(1, @fID, @fIsResident);
-
- inherited UploadData(aDataObj, aCheckSize);
end;
{$ENDIF}
{$IFEND}
end;
+ inherited UploadData(aDataObj, aCheckSize);
+
if (fID = 0) then
CreateID;
SetupParameters({$IFNDEF OPENGL_ES}BuildWithGlu{$ENDIF});
{$IFNDEF OPENGL_ES}
glAreTexturesResident(1, @fID, @fIsResident);
{$ENDIF}
-
- inherited UploadData(aDataObj, aCheckSize);
end;
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
{$IFEND}
end;
+ inherited UploadData(aDataObj, aCheckSize);
+
if (fID = 0) then
CreateID;
SetupParameters({$IFNDEF OPENGL_ES}BuildWithGlu{$ENDIF});
UploadDataIntern(aDataObj, aCubeTarget{$IFNDEF OPENGL_ES}, BuildWithGlu{$ENDIF});
-
- inherited UploadData(aDataObj, aCheckSize);
end;
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////