Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Error opening window with Intel HD Graphics 3000  (Read 1217 times)

0 Members and 1 Guest are viewing this topic.

janos_

  • Newbie
  • *
  • Posts: 9
    • View Profile
Error opening window with Intel HD Graphics 3000
« on: July 27, 2023, 05:24:14 pm »
I have a laptop with a Intel HD Graphics 3000. When I try to run this code:
...
int main()
{
   sf::RenderWindow window(sf::VideoMode(1366, 768, "Window");

}
 

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11027
    • View Profile
    • development blog
    • Email
Re: Error opening window with Intel HD Graphics 3000
« Reply #1 on: August 15, 2023, 08:04:10 am »
Would be more useful if you provided the error itself ;)

Make sure your graphics driver is up to date, I can recommend using the Intel Driver Assistant: https://www.intel.com/content/www/us/en/support/intel-driver-support-assistant.html
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Error opening window with Intel HD Graphics 3000
« Reply #2 on: August 15, 2023, 08:17:55 pm »
It's worth noting that this code shouldn't actually compile due to the window title being included as part of the video mode.
I presume this is a typing error when you wrote it here rather than a direct copy of the actual code that causes the error...
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*