We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expected: graphics. Result: black screen.
Example code (not written by me): ` #define NO_BLUR 0 'change to 1
#include "fbgfx.bi" using fb
screencontrol(SET_GL_2D_MODE, OGL_2D_MANUAL_SYNC) screencontrol(SET_GL_SCALE, 3) screenres 320, 200, 32, , GFX_OPENGL
#if (NO_BLUR = 1) #include "GL/gl.bi" glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST) glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST) #endif
dim as integer w, h, d dim as string driverName screeninfo w, h, d, , , , driverName print driverName & " @ " & str(w) & "x" + str(h) & "x" + str(d) circle(320\2, 200\2), 90, rgb(200,200,0)
'' You need to poll flip() so the window doesn't become unresponsive do sleep( 1, 1 ) flip loop until( len( inkey() ) ) `
The text was updated successfully, but these errors were encountered:
Oops, didn't see that: #315 Sorry.
Sorry, something went wrong.
No branches or pull requests
Expected: graphics.
Result: black screen.
Example code (not written by me):
`
#define NO_BLUR 0 'change to 1
#include "fbgfx.bi"
using fb
screencontrol(SET_GL_2D_MODE, OGL_2D_MANUAL_SYNC)
screencontrol(SET_GL_SCALE, 3)
screenres 320, 200, 32, , GFX_OPENGL
#if (NO_BLUR = 1)
#include "GL/gl.bi"
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST)
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST)
#endif
dim as integer w, h, d
dim as string driverName
screeninfo w, h, d, , , , driverName
print driverName & " @ " & str(w) & "x" + str(h) & "x" + str(d)
circle(320\2, 200\2), 90, rgb(200,200,0)
'' You need to poll flip() so the window doesn't become unresponsive
do
sleep( 1, 1 )
flip
loop until( len( inkey() ) )
`
The text was updated successfully, but these errors were encountered: