ofwin_setmakecurrentfunction Subroutine

public subroutine ofwin_setmakecurrentfunction(fcn)

Set a callback function for making the OpenGL context current (so it can be drawn on).

This applies to the current active WindowProxy.

Arguments

Type IntentOptional Attributes Name
procedure(makecurrentfunction) :: fcn

Callback function to be called.