Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
で作成しwx.FrameていGLCanvasます。一部のプラットフォームでWX_GL_DEPTH_SIZEは、キャンバスの属性を32に設定すると正常に機能します。別のプラットフォームでは、深度サイズを16に縮小しない限り、空白のフレームが表示されます(GLCanvasレンダリングされません)。呼び出し元のコードに、深度サイズの許容値を決定する簡単な方法はありますか?
wx.Frame
GLCanvas
WX_GL_DEPTH_SIZE
Linux を実行していますか? おそらく、出力する表示モードの表からその情報を取得できglxinfo -tます。
glxinfo -t