|
|
On 7/6/22 16:04 Jck_01 wrote:
How many threads are in your code?
Generally only one. The code in dialog windows uses one,
main program thread. A new thread is created only when I call
methods of network library. Could it be the reason of
artefacts?
Generally not if you don't call FLTK methods from within your thread
code.
Here's another question: Did you recently update your FLTK repo /
working copy? Maybe even switching from 1.3 to 1.4 ?
The reason I'm asking this is because mixing library headers (old
vs. new) and maybe compiling only parts of the library could have
similar effects (although maybe not with random appearance). Anyway,
I suggest to remove old FLTK installations from your system (if
there are any) and make sure that you compile your entire FLTK lib *and*
your entire application (make clean; make; or whatever is
applicable) to be sure everything is built from one FLTK source.
If this doesn't help, we'd really need code (a short, compileable
example source file) and more information about your FLTK version
and build environment.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/e442a5e1-4ad8-debc-6d3b-9e203d44b062%40online.de.
[ Direct Link to Message ] | |
|
| |