OpenGL: fixed typos related to 'occur' word

git-svn-id: trunk@65200 -
This commit is contained in:
maxim 2021-06-10 22:12:37 +00:00
parent d877172600
commit b7edc055af
2 changed files with 2 additions and 2 deletions

View File

@ -602,7 +602,7 @@ end;
function CustomXErrorHandler({%H-}para1:PDisplay; para2:PXErrorEvent):cint;cdecl;
begin
if para2^.error_code=8 then begin
raise Exception.Create('A BadMatch X error occured. Most likely the requested OpenGL version is invalid.');
raise Exception.Create('A BadMatch X error occurred. Most likely the requested OpenGL version is invalid.');
end;
Result:=0;
end;

View File

@ -266,7 +266,7 @@ end;
function CustomXErrorHandler({%H-}para1:PDisplay; para2:PXErrorEvent):cint;cdecl;
begin
if para2^.error_code=8 then begin
raise Exception.Create('A BadMatch X error occured. Most likely the requested OpenGL version is invalid.');
raise Exception.Create('A BadMatch X error occurred. Most likely the requested OpenGL version is invalid.');
end;
Result:=0;
end;