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.
少し前にVBOプログラムを書いていました。コーディングを終了し、希望どおりの正確な結果が得られましたが、同じコードで Mac にブラックスクリーンしか表示されません。私の推測では、glDrawElements に何か問題があると思いますが、glGetError を使用すると、0 が返されます。これは間違いを教えてくれませんか? なぜ彼らのパフォーマンスがこんなに違うのか知っている人はいますか?
ps私はsfmlを使用していました。この部分でクラッシュする可能性があるかどうかはわかりません。
Mac の OpenGL は glBindAttribLocation をサポートしていないため、glGetAttribLocation に変更した後、すべて正常に動作します