Commit 6c4f2bd
committed
Use DefWindowProc for the initial SDL window proc
This makes sure that anything that hooks window creation to set up window proc hooks will call DefWindowProc instead of infinitely recursing when we set up our window proc afterwards.
Fixes libsdl-org#105291 parent a82e8a7 commit 6c4f2bd
1 file changed
+2
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2729 | 2729 | | |
2730 | 2730 | | |
2731 | 2731 | | |
| 2732 | + | |
2732 | 2733 | | |
2733 | | - | |
2734 | | - | |
2735 | | - | |
2736 | | - | |
2737 | 2734 | | |
2738 | 2735 | | |
2739 | | - | |
2740 | | - | |
| 2736 | + | |
2741 | 2737 | | |
2742 | | - | |
2743 | | - | |
2744 | 2738 | | |
2745 | 2739 | | |
2746 | 2740 | | |
| |||
0 commit comments