Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Raspberry Pi 4 is different, book code won't work!
#11
(12-18-2019, 12:19 PM)Brian Beuken Wrote: what was the specific fix?

I wasn't using any version control as I should have, but I at least had to correct the defines for contextAttribs and attribute_list from what I had previously.  i borrowed from the OpenGL ES 2.0 book examples to figure out what was missing. 

This works with the RasPi 4 as well from CodeBlocks.
Reply
#12
Yeah the RPi4 is a very traditional Linux system, unlike its younger siblings, which have broadcom Dispmanx graphic systems, so anything that runs on a standard X11 linux will work with Rpi4.

Which is ok, apart from losing the scaling trick that the old Pi's have, but I now have the ability to change res on full screen displays so I can get my Rpi4 running about 50% faster than the 3B+ on the same 1080/2 screen res.

I'm also trying to investigate some faster methods of creating GPU buffers, but I'm snowed under with some personal pressure and work issues, so looking forward to some coding at christmas to catch up on my new SBC's and update the templates
Brian Beuken
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's 



Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)