|
Hieronim Fet
08/09/2011 6:49 PM
post87952
|
Hello everyone,
I`m having a problem with example program that draws rectangle. The code is
from topic
http://community.qnx.com/sf/discussion/do/listPosts/projects.graphics/discussion.advanced_graphics.topc8189?_pagenum=1,
but I enclose copy of source without long comments so it is easier to look
through.
As mentioned in topic of this message there is problem with
gf_layer_attach() function that fails. The output of the running program is:
Number of displays: 1
Display 0: 1280X1024, refresh = 60Hz
Number of layers: 1
gf_layer_attach() failed
I`m sending sloginfo and pidin outputs and my display.conf.
I have no idea why gf_layer_attach fails, hope you will help me.
Generally I`m working in Momentics IDE, so if I run this program as QNX
C/C++ App will I see any "drawn rectangles" or should I run the program
directly under QNX? Maybe this question is silly but I`m just a beginner.
|
|
|
|
|