Skip to content

impossible to use a version other than opengl 3.3 #179

@vinniec2

Description

@vinniec2

Since yesterday I have tried the raylib library and compiled it for compatibility with opengl1.1 however it keeps giving me errors with shaders.

Yesterday I opened an issue on the raylib repository raysan5/raylib#5088 , however today I tried compiling the included c examples and they seem to work, so maybe there is some problem in the bindings in python?

This is the example code I tried to run:

from pyray import *

def main(): 
    init_window(800, 800, "Window")
    set_window_position(0, 0)
    set_target_fps(10)
    
    while window_should_close():
        begin_drawing()
        clear_background(BLACK)
        draw_circle(0, 0, 50, YELLOW)
        end_drawing()
        
    from time import sleep; sleep(5)
    close_window()
    
if __name__ == "__main__":
   main()

you can read all the details in my post in the raylib issue tracker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions