I receive the following error message:
raised exception class EContext3DException with message ‘Cannot create EGL PBuffer Surface. Error code: 12297.’.
This error occurs when the form "quality" property is set to HighQuality.
Among 10 smartphone models tested, one accused this error.
How can I detect if the smartphone supports this feature?
I imagine it would be something like this:
Override InitializeNewForm
procedure Tform.InitializeNewForm
begin
if suported then //how to check??
Quality := TCanvasQuality.HighQuality
else
Quality := TCanvasQuality.SystemDefault;
inherited;
end;