Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » GLFW Package
Re: GLFW Package [message #55707 is a reply to message #55703] Wed, 02 December 2020 01:31 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 1099
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Xemuth,

I am glad it is working! I am also happy UppHub will have this awesome package for the premiere. Good job!

Also, please replace "int main()" with CONSOLE_APP_MAIN thanks to Core we are in U++ world Smile
return -1 can be replaced with Upp::Exit(). Also, you could consider adding description to GLFW package - what it is. It is very helpful information when you don't know anything about package and wants to try.

I tested it on my machine with Radeon GPU on Manjaro (X11) and in the window I saw only blinking artifacts Sad. This might be the library problem or something else. I will probably do not have time to dig more.

Small remark:
Upp::Cout() << "Failed to create GLFW window" << Upp::EOL;

Could be replace with
Upp::Cout() << "Failed to create GLFW window\n";


Oblivion the leak problem is related to leak in AMD drivers we (Mirek and I) fought with it in the past for GLCtrl but without success.

Klugier


U++ - one framework to rule them all.

[Updated on: Wed, 02 December 2020 01:33]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: bazaar -> UppHub
Next Topic: Flatbuffers package
Goto Forum:
  


Current Time: Tue Jun 17 09:05:08 CEST 2025

Total time taken to generate the page: 0.04166 seconds