Another Pi4 GL working example - Lazarus
Posted: Thu Aug 15, 2019 8:07 am
Install Lazarus from SVN (not apt-get install
- the .deb package for Buster is damaged on RPi AND on PC too
)
Run Lazarus
Open GL control example
Compile
Run
It simply works
As the example seems to be very old it seems to use the fixed pipeline - no hand-made shaders
But... it simply works
Update:
The new pipeline can be also used: I am now trying to get it working - now having the vertex shader compiled. As I have my own GL demo source I wrote for Ultibo now I am trying to move it here
Code: Select all
svn checkout https://svn.freepascal.org/svn/lazarus/tags/lazarus_2_0_4
cd lazarus_2_0_4
make clean
make bigide
Open GL control example
Compile
Run
It simply works
As the example seems to be very old it seems to use the fixed pipeline - no hand-made shaders
But... it simply works
Update:
The new pipeline can be also used: I am now trying to get it working - now having the vertex shader compiled. As I have my own GL demo source I wrote for Ultibo now I am trying to move it here