mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 20:00:26 +02:00
opengl: improved error messages for non supported widgetsets
git-svn-id: trunk@20588 -
This commit is contained in:
parent
9d97223c5c
commit
65291945c8
@ -25,12 +25,16 @@ unit OpenGLContext;
|
|||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
|
||||||
{$IFDEF LCLGTK}
|
{$IFDEF LCLGTK}
|
||||||
|
{$IFDEF Linux}
|
||||||
{$DEFINE UseGtkGLX}
|
{$DEFINE UseGtkGLX}
|
||||||
{$DEFINE OpenGLTargetDefined}
|
{$DEFINE OpenGLTargetDefined}
|
||||||
|
{$ENDIF}
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
{$IFDEF LCLGTK2}
|
{$IFDEF LCLGTK2}
|
||||||
|
{$IFDEF Linux}
|
||||||
{$DEFINE UseGtk2GLX}
|
{$DEFINE UseGtk2GLX}
|
||||||
{$DEFINE OpenGLTargetDefined}
|
{$DEFINE OpenGLTargetDefined}
|
||||||
|
{$ENDIF}
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
{$IFDEF LCLCarbon}
|
{$IFDEF LCLCarbon}
|
||||||
{$DEFINE UseCarbonAGL}
|
{$DEFINE UseCarbonAGL}
|
||||||
@ -41,7 +45,7 @@ unit OpenGLContext;
|
|||||||
{$DEFINE OpenGLTargetDefined}
|
{$DEFINE OpenGLTargetDefined}
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
{$IFNDEF OpenGLTargetDefined}
|
{$IFNDEF OpenGLTargetDefined}
|
||||||
{$ERROR this target is not yet supported}
|
{$ERROR this LCL widgetset/OS is not yet supported}
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
|
Loading…
Reference in New Issue
Block a user