Mercurial > hg > forks > gldragon
comparison dmglrender.h @ 83:69d7349dc5d3
Render a textured quad with bitmap letter 'A' in the bottom left corner as
an additional test - this does not render correctly with Zink (on Intel
Haswell at least).
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 09 Mar 2020 09:40:28 +0200 |
parents | 9ee0edff3940 |
children | 3863ad92f8d8 |
comparison
equal
deleted
inserted
replaced
82:91a2868260bf | 83:69d7349dc5d3 |
---|---|
14 | 14 |
15 | 15 |
16 struct DMGLSimpleRenderer : DMSimpleRenderer | 16 struct DMGLSimpleRenderer : DMSimpleRenderer |
17 { | 17 { |
18 SDL_GLContext sdlGLContext; | 18 SDL_GLContext sdlGLContext; |
19 GLuint tex; | |
19 | 20 |
20 DMGLSimpleRenderer() | 21 DMGLSimpleRenderer() |
21 { | 22 { |
22 sdlGLContext = NULL; | 23 sdlGLContext = NULL; |
23 } | 24 } |