mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 07:50:05 +00:00 
			
		
		
		
	Use GLEW instead of QOpenGLFunctions
This commit is contained in:
		
							parent
							
								
									4bd749d976
								
							
						
					
					
						commit
						331b2d855f
					
				
					 33 changed files with 788 additions and 959 deletions
				
			
		|  | @ -3,8 +3,6 @@ | |||
| #include <scwx/qt/gl/gl.hpp> | ||||
| #include <scwx/qt/gl/shader_program.hpp> | ||||
| 
 | ||||
| #include <QOpenGLFunctions_3_0> | ||||
| 
 | ||||
| namespace scwx | ||||
| { | ||||
| namespace qt | ||||
|  | @ -24,12 +22,6 @@ public: | |||
|    GlContext(GlContext&&) noexcept; | ||||
|    GlContext& operator=(GlContext&&) noexcept; | ||||
| 
 | ||||
|    gl::OpenGLFunctions&  gl(); | ||||
| 
 | ||||
| #if !defined(__APPLE__) | ||||
|    QOpenGLFunctions_3_0& gl30(); | ||||
| #endif | ||||
| 
 | ||||
|    std::uint64_t texture_buffer_count() const; | ||||
| 
 | ||||
|    std::shared_ptr<gl::ShaderProgram> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat