|
@@ -5201,17 +5201,17 @@ end;
|
|
procedure Load_GL_version_1_2x(var allOK: Boolean);
|
|
procedure Load_GL_version_1_2x(var allOK: Boolean);
|
|
begin
|
|
begin
|
|
glBlendColor := wglGetProcAddress('glBlendColor');
|
|
glBlendColor := wglGetProcAddress('glBlendColor');
|
|
- if not Assigned(glBlendColor) then Exit;
|
|
|
|
|
|
+ if not Assigned(glBlendColor) then allOK := False;
|
|
glBlendEquation := wglGetProcAddress('glBlendEquation');
|
|
glBlendEquation := wglGetProcAddress('glBlendEquation');
|
|
- if not Assigned(glBlendEquation) then Exit;
|
|
|
|
|
|
+ if not Assigned(glBlendEquation) then allOK := False;
|
|
glDrawRangeElements := wglGetProcAddress('glDrawRangeElements');
|
|
glDrawRangeElements := wglGetProcAddress('glDrawRangeElements');
|
|
- if not Assigned(glDrawRangeElements) then Exit;
|
|
|
|
|
|
+ if not Assigned(glDrawRangeElements) then allOK := False;
|
|
glTexImage3D := wglGetProcAddress('glTexImage3D');
|
|
glTexImage3D := wglGetProcAddress('glTexImage3D');
|
|
- if not Assigned(glTexImage3D) then Exit;
|
|
|
|
|
|
+ if not Assigned(glTexImage3D) then allOK := False;
|
|
glTexSubImage3D := wglGetProcAddress('glTexSubImage3D');
|
|
glTexSubImage3D := wglGetProcAddress('glTexSubImage3D');
|
|
- if not Assigned(glTexSubImage3D) then Exit;
|
|
|
|
|
|
+ if not Assigned(glTexSubImage3D) then allOK := False;
|
|
glCopyTexSubImage3D := wglGetProcAddress('glCopyTexSubImage3D');
|
|
glCopyTexSubImage3D := wglGetProcAddress('glCopyTexSubImage3D');
|
|
- if not Assigned(glCopyTexSubImage3D) then Exit;
|
|
|
|
|
|
+ if not Assigned(glCopyTexSubImage3D) then allOK := False;
|
|
end;
|
|
end;
|
|
|
|
|
|
function Load_GL_version_1_2: boolean;
|
|
function Load_GL_version_1_2: boolean;
|