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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Zel

Pages: [1]
1
General / About the FAQ for static linking (Windows)
« on: August 24, 2020, 02:40:33 am »
A couple things I'd like to point out having gotten a successful static link in Windows.

1.  You should note in the FAQ the same as in the downloads page that in order to static link the compilers have to be one of those 3 or visual studio.
 
2. While this chart is very useful, most newbies are not going to correlate that this is the same as the attached image.

sfml-window-s  sfml-system-s  opengl32  winmm  gdi32
         |             |                   |               |            |
         | +-------+                   |               |            |
         | | +----------------------+              |            |
         | | | +---------------------------------+           |
         | | | | +------------------------------------------+
         | | | | |
         v v v v v
        example.exe


2
General / General Questions
« on: February 08, 2020, 11:11:15 am »
Hello,

I'm currently converting a hobby project from SDL2 to SFML2.

A couple of quick questions.

1.  On multi-threading,  I use one thread to do game logic and load textures and a second thread to define sprites and draw.  On SDL these threads required mutexes to work this way.  However with SFML's thread functions, with or without mutexes, this seems to work without thread errors.  Is the omission of mutexes, in this case, a possible cause of "undefined behavior"?

2.  I've found that using viewports allows me to scale my program's internal resolution to a much larger window, is this the correct way to do this?

Thank you. ^.^


Pages: [1]